12
Windows Forms Windows Forms in Visual Studio in Visual Studio 2005: An Overview 2005: An Overview Saurabh Pant Saurabh Pant Program Manager Program Manager Microsoft Corporation Microsoft Corporation

Windows Forms in Visual Studio 2005: An Overview Saurabh Pant Program Manager Microsoft Corporation

Embed Size (px)

Citation preview

Windows Forms Windows Forms in Visual Studio in Visual Studio 2005: An Overview2005: An Overview

Windows Forms Windows Forms in Visual Studio in Visual Studio 2005: An Overview2005: An Overview

Saurabh PantSaurabh PantProgram ManagerProgram ManagerMicrosoft CorporationMicrosoft Corporation

AgendaAgenda

Windows Forms 2005 Design GoalsWindows Forms 2005 Design Goals

New Feature DemonstrationNew Feature Demonstration

Deployment using ClickOnceDeployment using ClickOnce

QuestionsQuestions

Richer Control Set, Layout, ConfigurationRicher Control Set, Layout, Configuration

Simplified, more powerful Data SupportSimplified, more powerful Data Support

Design Time EnhancementsDesign Time Enhancements

Choosing a Presentation TechnologyChoosing a Presentation Technology

Windows Forms 2005: Design Windows Forms 2005: Design GoalsGoals

Bring the Ease and Reliability of Web Bring the Ease and Reliability of Web Deployment to the ClientDeployment to the Client

Facilitate building Profession Looking and Facilitate building Profession Looking and Professional Behaving Applications Professional Behaving Applications

Simplify Client Application DevelopmentSimplify Client Application DevelopmentSimplify Working with DataSimplify Working with Data

Fewer Lines of Code, Fewer ClicksFewer Lines of Code, Fewer Clicks

ClickOnce Deployment ClickOnce Deployment FrameworkFramework

Smart Client Deployment meets Web DeploymentSmart Client Deployment meets Web DeploymentRun an Application by Clicking on a URLRun an Application by Clicking on a URL

Update the Application by Updating on ServerUpdate the Application by Updating on Server

Targeted at Per User, Isolated, Non Impactful Targeted at Per User, Isolated, Non Impactful ApplicationsApplications

Auto UpdateAuto UpdateFlexible Declarative Update Options Flexible Declarative Update Options

Rich Programmatic ExtensibilityRich Programmatic Extensibility

Deep Microsoft Visual Studio IntegrationDeep Microsoft Visual Studio Integration

Rich Security ModelRich Security ModelCLR CAS sandboxing CLR CAS sandboxing

Permission elevation prompting w/ AuthenticodePermission elevation prompting w/ Authenticode

Deployment using ClickOnceDeployment using ClickOnce

What’s New in WinForms 2005What’s New in WinForms 2005

Richer Control SetRicher Control SetTool Strip Control SuiteTool Strip Control Suite

Menu/Tool/Status Strip, Menu/Tool/Status Strip, ContextMenuStripContextMenuStrip

WebBrowserWebBrowser

MaskedTextBoxMaskedTextBox

BackgroundWorkerBackgroundWorker

SoundPlayerSoundPlayer

Existing Controls Existing Controls EnhancementsEnhancements

Layout ControlsLayout ControlsTableLayoutTableLayout

FlowLayoutFlowLayout

SplitContainerSplitContainer

Automatic Form Automatic Form ResizingResizing

Client ConfigurationClient ConfigurationRead/Write User Read/Write User SettingsSettings

Read Only Read Only Application SettingsApplication Settings

What’s New in WinForms 2005 What’s New in WinForms 2005 ……

Designer FeaturesDesigner FeaturesSnap LinesSnap Lines

Smart TagsSmart TagsCustom Component Custom Component SupportSupport

RAD Data SupportRAD Data SupportSimplified Data BindingSimplified Data Binding

Partial ClassesPartial Classes

Data SupportData SupportData Grid ViewData Grid View

BindingSourceBindingSource

BindingNavigatorBindingNavigator

Developing Applications using Windows Forms 2005Developing Applications using Windows Forms 2005

Presentation Technology Presentation Technology GuidanceGuidance

Use the best presentation technology Use the best presentation technology for your application for your application

Use Windows Forms for line of business applications Use Windows Forms for line of business applications 

Use WPF for applications where having a distinctive look Use WPF for applications where having a distinctive look and feel is importantand feel is important

Use ASP.NET, Atlas or WPF/E for your reach client needsUse ASP.NET, Atlas or WPF/E for your reach client needs

Investments in Windows Forms continue Investments in Windows Forms continue to be valuable to be valuable

Windows Forms is a great development technology and Windows Forms is a great development technology and remains the best choice for many applicationsremains the best choice for many applications

Both Windows Forms and WPF share the same underlying Both Windows Forms and WPF share the same underlying platform and languagesplatform and languages

Windows Forms and WPF work great together – integrate Windows Forms and WPF work great together – integrate WPF into your existing applications WPF into your existing applications

SummarySummary

Windows Forms in Visual Studio 2005 Windows Forms in Visual Studio 2005 make it easier to build and deploy make it easier to build and deploy professional looking, professional professional looking, professional behaving applicationsbehaving applications

Recommended Presentation Recommended Presentation Technology for Line of Business Technology for Line of Business ApplicationsApplications

Install Visual Studio 2005 TodayInstall Visual Studio 2005 Todayhttp://lab.msdn.microsoft.com/vs2005

ResourcesResourcesWindows Forms Websitehttp://www.windowsforms.net

Windows Forms FAQshttp://www.windowsforms.net/faqs

Windows Forms Sampleshttp://www.windowsforms.net/Default.aspx?tabindex=4&tabid=49

Windows Forms Online Discussion Forumhttp://forums.microsoft.com/msdn/default.aspx?ForumGroupID=2

Windows Forms on MSDNhttp://msdn.microsoft.com/netframework/windowsforms

Presenter’s Bloghttp://blogs.msdn.com/Saurabh

© 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.

MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.