Introduction to Programming Window Applications Graphics Programming GUI

Introduction to Programming Window Applications Graphics Programming GUIConsole Application
- No visual component
- Only text input and output
- Run undeCommand Prompt oDOS Prompt
Window Application
- Forms with many different input and output types
- Contains Graphical UseInterfaces (GUI)
- GUIs make the input and output more usefriendly!
- Message boxes
. Within the System.Windows.Forms namespace
. Used to prompt odisplay information to the user


Challenges foWindow Applications
What are the inputs?
- Many more possible input sources (e.g., mouse click,
keyboard press, repainting a window)
- Some comes directly fro- useactions, some are indirect and implicit
How to react to these inputing “events”?
- Need to write what we call “event handlers”
. OnPaint acts like an event handlefothe “Paint” event request.
What are the outputs?
- Display different GUI widgets with propelayout
- Graphics programming
- Animation

- A graphics context is a drawing surface, the drawing area of a form or a panel
- A Graphics object manages a graphics context; thus drawing actions are always like:

Website: flint.cs.yale.edu | Filesize: 180kb
No of Page(s): 7
Click here to download Introduction to Programming Window Applications Graphics Programming GUI.

Related Tutorial

Tags: , , ,

Comments

Leave a Reply