Presentation is loading. Please wait.

Presentation is loading. Please wait.

Windows Forms in Visual Studio 2005: An in-depth look at key features

Similar presentations


Presentation on theme: "Windows Forms in Visual Studio 2005: An in-depth look at key features"— Presentation transcript:

1 Windows Forms in Visual Studio 2005: An in-depth look at key features
Name: Mike Henderlight Title: Program Manager

2 Agenda ToolStrip Controls Working with Data and the DataGridView
Creating Customized, Professional Applications Working with Data and the DataGridView Binding to business objects BackgroundWorker Making an application more responsive TableLayoutPanel Simplifying Localization Configuration APIs Storing Application and User State Questions

3 Demo: Customizing ToolStrips
Extensibility Models Custom “Renderers” “Renderers” control the look and feel of the ToolStrip and ToolStrip Items Custom Items (ToolStripItem derivation) Extend ToolStrip item types Full designer support for custom ToolStrip items Control Hosting Host Windows Forms Controls in ToolStrips

4 Demo: Data and the DataGridView
Flexible, Extensible, Performant Bound, Unbound, Virtual, Mixed Text, Image, Button, Link cells/columns Cell-based not Column-based Cell styles (Font, Color, Formatting) Cell-level events Mouse, Formatting, Validate, Error, Others... BindingSource Enables design time business object binding New Binding Types BindingList<T>: Generic IBindingList INotifyPropertyChanged: Simplifies the implementation of property change notification

5 Demo: BackgroundWorker
Simplify creating responsive applications Easier to perform long running tasks without “freezing” the UI Simplify Thread use in Windows Forms applications

6 Demo: TableLayoutPanel
Layout Controls TableLayoutPanel Similar to HTML Table control Address localization scenarios Facilitate creation of resizable UI Support data driven UI (e.g. labels from a DB) FlowLayoutPanel Child controls “flow” like default HTML layout mode

7 Demo: Client Configuration
Configuration APIs Support reading/writing user state Example: User’s last opened file Support reading/writing application state Example: Application specific data source connection string Full designer support Extensible provider model

8 Resources: Windows Forms
Smart Client on MSDN: Windows Forms web site: Beta 1 Samples: Online Discussion Forums: Visual Studio Tools for Office Version 2003 Benefits Enables the development of document-centric solutions with managed code Access to the .NET Framework (e.g. support for Web Services, ADO.NET, etc) Advantages with regard to VBA Professional developer tool : Visual Studio .NET 2003 Security model: .NET Code Access Security Deployment model: No-touch deployment Visual Studio Tools for Office Version 2005 Major focus on developer productivity Integrated design-time experience Support for managed controls “View” controls Managed Document Actions task pane Schema-based programming model New data caching capabilities Data island accessible in a server environment Improved deployment model Online ClickOnce deployment model

9 Windows Forms in Visual Studio 2005
Summary ClickOnce Bring the ease and reliability of Web application deployment to client apps Windows Forms in Visual Studio 2005 Easier to build professional looking applications The designer simplifies application development Download and Install Visual Studio 2005 Today When you develop a client app, there are a lot of advantages. You get to take advantage of the cpu, video card and the hard rive. You shouldn’t have to make a decision about deployment. It shouldn’t be easier to deploy a web app than a client app. So we made this a key goal and we’ve done a lot of work to make it as easy to deploy a client app as a web app. I’m going to show a demo of this. We took a look to find where we had deficiencies in our control set. We added a few new controls and I’ll demo those also. Also, we’ve made improvements in databinding. We’ve done a lot of work to make it easier to build data bound applications in the IDE. This will also be demos

10 © 2005 Microsoft Corporation. All rights reserved
© 2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.


Download ppt "Windows Forms in Visual Studio 2005: An in-depth look at key features"

Similar presentations


Ads by Google