Introducing VB.NET 2005 Windows Forms
We will be learning in the next series of articles as part of VB.NET 2005 Free Training : Introducing Windows Forms in the following topics with code samples and screen shots.
Introducing Windows Forms
Designing Windows Application is simpler and less time consuming with Visual Basic 2005. A number of new facilities and enhancements have been made to assist the developer complete the project in time and with lesser number of errors. Windows Form is the cynosure of the Windows Application. Visual studio 2005 packs more features to the already enriched area of Windows Forms, both at design and run time. Among the several features that have been added some standout as prominent. The management of layout of the form is made easier by providing the snap lines that make it easy to align controls with other controls as the layout is formed. A new deployment technology called ClickOnce for forms is added.
Creating a Windows Application
- Understanding Classes, Inheritance, and Namespaces
- Using The System.Windows.Forms.Form class
- Designing a Form using Windows Forms Designer
- Exploring the Forms Designer generated code
- Using the Application class
- Using the MessageBox class
Setting and Adding Properties to a Windows Form
- Using the Visual Designer to set Windows Form Properties
- Setting Windows Forms Properties programatically
- Adding new Property to a Windows Form
- Using Visual Inheritance
- Handling Events by attaching a delegate
- Handling Events by overriding protected method of base class.
Building graphical interface elements
- Understanding The Graphics Object
- Understanding The Windows Forms Coordinate System
- Drawing Text on a Form
- Drawing Shapes