Upload
jonah-barton
View
215
Download
0
Embed Size (px)
Citation preview
Windows Forms in Visual Studio 2005: An
Overview Name: Joe StegmanTitle: Lead Program Manager
Session code
2
Agenda
• Goals• Deployment• New Feature Demonstrations
– Run time– Design Time, Layout and Configuration– Data
• Questions
3
Windows Forms in Visual Studio 2005:Design Goals
• Bring the ease and reliability of Web application deployment to client apps
• Professional Look and Feel– New controls and enhancements
• Simplify client application development– Simplify working with data– Fewer lines of code– Fewer clicks
4
Deployment with ClickOnce
• Smart Client Deploy meets Web Deploy– Run an application by clicking on a URL– Update an application by updating a server
• Robust Downloader & Installer– File & HTTP server support– Flexible updates – optional, required, etc..– Start Menu & Add/Remove Programs integration– Extensibility via an API
• Deep Visual Studio Integration• Rich Security Model
– CLR CAS sandboxing – Permission elevation prompting w/ Authenticode
6
New Windows Forms Components
• NewToolBars and Menus (ToolStrip) • DataGridView• SplitContainer• WebBrowser• MaskedEdit• TableLayout, FlowLayout• BackgroundWorker• BindingSource (manages bindings)
7
More New Windows Forms Features
• Client Configuration– Read/Write User Settings– Read Only Application Settings
• Asynchronous Component• Sound API• XP control and OS features• Enhanced Existing Controls
8
New Windows Forms Designer Features
• Smart Tags• Snap Lines• RAD Data
– Simplified Data Binding
• Partial Classes
10
Visual Studio 2005Tools For OfficeVisual Studio 2005Tools For Office
• Leverage existing Office experience• Strategic tool for developing Office
solutions– Supports Excel 2003, Word 2003 and InfoPath 2003– Designed for professional developers:
• Visual C# and Visual Basic .NET
• Office development approachable– Provides all the productivity of Visual Studio– Provides all the power of the .NET Framework
• Secure and easy to deploy
12
Resources: ClickOnceResources: ClickOnce
• Introduction to ClickOnce:– http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
dnwinforms/html/clickonce.asp
• ClickOnce Articles:– http://www.windowsforms.net/Articles/default.aspx?PageID=1&Cat=%2
2ClickOnce%22+Deployment&ModuleFilter=131&tabindex=3– http://msdn.microsoft.com/library/default.asp?url
=/library/en-us/dnreal/html/realworld12012004.asp
• FAQ: – http://msdn.microsoft.com/smartclient/community/wffaq/wf20.aspx#9m
qicswf
13
Resources: Windows FormsResources: Windows Forms
• Smart Client on MSDN: – http://msdn.microsoft.com/smartclient– http://msdn.microsoft.com/smartclient/understanding/windowsforms– http://msdn.microsoft.com/smartclient/community/wffaq/wf20.aspx
• Windows Forms web site:– http://www.windowsforms.net
• Beta 1 Samples:– http://www.windowsforms.net/Default.aspx?
tabindex=4&tabid=49#Whidbey%20Beta%201
• Online Discussion Forums:– http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=2– http://msdn.microsoft.com/smartclient/community/discussions/
default.aspx
14
Resources: Visual Studio Tools for Office (VSTO)Resources: Visual Studio Tools for Office (VSTO)
• VSTO on MSDN: – http://msdn.microsoft.com/office/understanding/vsto/