Geeks With Blogs
Geekette Mai Blog

 

Developers will create Windows Forms applications much like they do Visual Basic-based forms today (although with Windows Forms, they get the same level of productivity in all of the languages in Visual Studio, not just Visual Basic). In the following image, you can see that a design surface is used to visually lay out the form with rich controls. To edit source code, developers simply double-click a control and the source editor will appear, enabling quick access to the full event model for the control and form.

Building Windows Forms

Figure 1. Building Windows Forms

Visual Inheritance

Visual inheritance is one of the key new features available in Windows Forms that will enhance developer productivity and facilitate code reuse. For example, an organization could define a standard base form that contains items such as the corporate logo and perhaps a common toolbar. This form can be used by developers through inheritance and extended to meet the requirements of specific applications while promoting a common user interface across the organization. The creator of the base form can specify which elements can be extended and which must be used as is, ensuring that the form is reused appropriately

Precision Form Design

Developers will have an unprecedented level of control and productivity when designing the look and feel of their Windows Forms applications. Features such as the In-Place Menu Editor, Control Anchoring, Control Docking, and many new controls enable a higher level of power and precision for developers building rich Windows-based user interfaces.

With the In-Place Menu Editor, developers can quickly and easily add menus to a form, modify them, and view how they look without having to run the application. Controls on the form are more effective with Control Anchoring, enabling a form to automatically resize controls as a user resizes the form. With Control Docking, controls can be docked on any side of a form, providing greater flexibility in layout.

In-place Menu Editor

Figure 2. In-place Menu Editor

Existing ActiveX® controls can be leveraged and run on any form as well, preserving investments in existing technologies.

New controls-including Link Label, Tray Icon, and Print Preview-provide additional common functionality for developers. Link Label provides HTML-like linking to a specified URL. Text displayed using this control will appear underlined and the cursor will change to a hand as the mouse moves over it, firing an actionable event when clicked. Tray Icon enables developers to create applications that run in the Windows tray similar to the Microsoft SQL Server™ Service Manager. Windows Forms offers a printing framework that makes printing simple, including a Print Preview window with the Print Preview control.

Developers can build applications that support the broadest audience of users with Windows Forms. Windows Forms controls implement Microsoft Active Accessibility® programming interfaces, making it straightforward to build applications that support accessibility aids such as screen readers.

Posted on Tuesday, June 6, 2006 6:25 PM | Back to top


Comments on this post: Creating a Windows Forms Application

# re: Creating a Windows Forms Application
Requesting Gravatar...
Howdy Geekette Mai,

I think your post is very helpfull for newbie in development. Keep help us by research more goodies in .Net developer :)
Left by Trinh Luc on Jun 26, 2006 5:49 PM

# re: Creating a Windows Forms Application
Requesting Gravatar...
This is very good article, keep up the good work geeketee :)
Left by Jason Thomas on Jun 26, 2006 6:29 PM

# re: Creating a Windows Forms Application
Requesting Gravatar...
I found this very usefull...etc
Left by Lynn Green on Jul 06, 2006 3:55 PM

Your comment:
 (will show your gravatar)


Copyright © Mai Nguyen | Powered by: GeeksWithBlogs.net