Sunteți pe pagina 1din 15

Presented by:

Tim O’Brien
Senior Systems Engineer
Fujitsu Software Corporation

Introduction to Windows
Forms
(Win Forms)
Fujitsu Software Corporation

Customer Training Series

Fujitsu Computer Systems


Intro to Windows Forms (Win Forms)

■ Graphical User Interfaces (GUI’s)


■ Event driven programming
■ Commonly used controls
■ Advanced controls
■ Custom controls
■ Using forms
■ Using forms with data
■ Events
■ Properties

PAGE 2 Fujitsu Computer Systems


Graphical User Interfaces (GUI’s)

■ Used to build rich interactive applications

■ Event driven programming model

■ Identical API for multiple programming


languages in the .NET environment

PAGE 3 Fujitsu Computer Systems


Graphical User Interfaces (GUI’s) (Cont…)

■ Forms may be inherited from other forms

■ Able to run within a web page under IE6 (similar


to JAVA applets)

PAGE 4 Fujitsu Computer Systems


Event Driven Programming
■ Allows for high degree of modularity

■ Event procedures are written for specific user


interface events – reduces need for programmer
to architect application

PAGE 5 Fujitsu Computer Systems


Event Driven Programming (Cont…)

■ Standardized properties, methods and events for


controls

■ More intuitive way to develop user interfaces for


interactive applications

PAGE 6 Fujitsu Computer Systems


Commonly used controls

PAGE 7 Fujitsu Computer Systems


Advanced Controls

PAGE 8 Fujitsu Computer Systems


Custom Controls
■ Users can create their own custom controls

■ Allows for heavy customization of GUI’s

■ Allows for standardization

■ May be inserted into Win Forms or Web Forms

■ Supports component development

PAGE 9 Fujitsu Computer Systems


Using Forms
■ Single Document Interfaces (SDI)

■ Multiple Document Interfaces (MDI)

■ Modal vs. Non-Modal forms

■ Menus

■ Context Menus

■ Tool Tips

PAGE 10 Fujitsu Computer Systems


Using Forms with data
■ Data binding to controls

■ DataGrid controls

PAGE 11 Fujitsu Computer Systems


Events
■ Programming to specific Events

■ Common events such as Click, MouseHover,


Move, Resized, TextChanged

■ Delegates

PAGE 12 Fujitsu Computer Systems


Properties
■ Static vs. Dynamic Properties

■ Effective use of properties

■ Custom properties in custom controls

PAGE 13 Fujitsu Computer Systems


Win forms app

PAGE 14 Fujitsu Computer Systems


Questions

PAGE 15 Fujitsu Computer Systems

S-ar putea să vă placă și