2005-04-29 Windows Forms Overview

Embed Size (px)

Citation preview

  • 7/31/2019 2005-04-29 Windows Forms Overview

    1/15

    Windows Forms in Visual Studio 2005: An OverviewName: Joe Stegman

    Title: Lead Program Manager

    Session code

  • 7/31/2019 2005-04-29 Windows Forms Overview

    2/15

    2

    Agenda

    Goals

    Deployment

    New Feature Demonstrations

    Run time

    Design Time, Layout and Configuration

    Data

    Questions

  • 7/31/2019 2005-04-29 Windows Forms Overview

    3/15

    3

    Windows Forms in Visual Studio 2005:Design Goals

    Bring the ease and reliability of Webapplication 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

  • 7/31/2019 2005-04-29 Windows Forms Overview

    4/15

    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

  • 7/31/2019 2005-04-29 Windows Forms Overview

    5/15

    Demo: Deployment using

    ClickOnce

  • 7/31/2019 2005-04-29 Windows Forms Overview

    6/15

    6

    New Windows Forms Components

    NewToolBars and Menus (ToolStrip)

    DataGridView

    SplitContainer WebBrowser

    MaskedEdit

    TableLayout, FlowLayout

    BackgroundWorker

    BindingSource (manages bindings)

  • 7/31/2019 2005-04-29 Windows Forms Overview

    7/15

    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

  • 7/31/2019 2005-04-29 Windows Forms Overview

    8/15

    8

    New Windows Forms Designer

    Features

    Smart Tags

    Snap Lines RAD Data

    Simplified Data Binding

    Partial Classes

  • 7/31/2019 2005-04-29 Windows Forms Overview

    9/15

    Demo: Developing Applications using

    Windows Forms and Visual Studio 2005

  • 7/31/2019 2005-04-29 Windows Forms Overview

    10/15

    10

    Visual 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

  • 7/31/2019 2005-04-29 Windows Forms Overview

    11/15

    Demo: Visual Studio Tools for

    Office

  • 7/31/2019 2005-04-29 Windows Forms Overview

    12/15

    12

    Resources: 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=%22ClickOnc

    e%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#9mqicswf

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/clickonce.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/clickonce.asphttp://www.windowsforms.net/Articles/default.aspx?PageID=1&Cat=%22ClickOnce%22+Deployment&ModuleFilter=131&tabindex=3http://www.windowsforms.net/Articles/default.aspx?PageID=1&Cat=%22ClickOnce%22+Deployment&ModuleFilter=131&tabindex=3http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnreal/html/realworld12012004.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnreal/html/realworld12012004.asphttp://msdn.microsoft.com/smartclient/community/wffaq/wf20.aspxhttp://msdn.microsoft.com/smartclient/community/wffaq/wf20.aspxhttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnreal/html/realworld12012004.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnreal/html/realworld12012004.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnreal/html/realworld12012004.asphttp://www.windowsforms.net/Articles/default.aspx?PageID=1&Cat=%22ClickOnce%22+Deployment&ModuleFilter=131&tabindex=3http://www.windowsforms.net/Articles/default.aspx?PageID=1&Cat=%22ClickOnce%22+Deployment&ModuleFilter=131&tabindex=3http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/clickonce.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/clickonce.asphttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwinforms/html/clickonce.asp
  • 7/31/2019 2005-04-29 Windows Forms Overview

    13/15

    13

    Resources: 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#Whidb

    ey%20Beta%201 Online Discussion Forums:

    http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=2

    http://msdn.microsoft.com/smartclient/community/discussions/default.aspx

    http://msdn.microsoft.com/smartclienthttp://msdn.microsoft.com/smartclient/understanding/windowsformshttp://msdn.microsoft.com/smartclient/community/wffaq/wf20.aspxhttp://www.windowsforms.net/http://www.windowsforms.net/Default.aspx?tabindex=4&tabid=49http://www.windowsforms.net/Default.aspx?tabindex=4&tabid=49http://forums.microsoft.com/msdn/default.aspx?ForumGroupID=2http://msdn.microsoft.com/smartclient/community/discussions/default.aspxhttp://msdn.microsoft.com/smartclient/community/discussions/default.aspxhttp://msdn.microsoft.com/smartclient/community/discussions/default.aspxhttp://msdn.microsoft.com/smartclient/community/discussions/default.aspxhttp://forums.microsoft.com/msdn/default.aspx?ForumGroupID=2http://www.windowsforms.net/Default.aspx?tabindex=4&tabid=49http://www.windowsforms.net/Default.aspx?tabindex=4&tabid=49http://www.windowsforms.net/http://msdn.microsoft.com/smartclient/community/wffaq/wf20.aspxhttp://msdn.microsoft.com/smartclient/understanding/windowsformshttp://msdn.microsoft.com/smartclient
  • 7/31/2019 2005-04-29 Windows Forms Overview

    14/15

    14

    Resources: Visual Studio Tools for

    Office (VSTO)

    VSTO on MSDN: http://msdn.microsoft.com/office/understanding/vsto/

    http://msdn.microsoft.com/office/understanding/vsto/http://msdn.microsoft.com/office/understanding/vsto/
  • 7/31/2019 2005-04-29 Windows Forms Overview

    15/15

    15

    2005 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only.

    MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS SUMMARY.