Windows Programming

Desktop applications are of two types. They are:-
1. Character User Interface (CUI)
2.Graphical User Interface (GUI)
1. Character User Interface [ CUI ]
Traditionally we were using Character User Interface. Lets say for example DOS, UNIX,... etc.
These Character User Interfaces Suffered from various criticisms like :-
* Since we need to use commands in CUIs, so they are not user friendly.
* CUIs does not allow to navigate from one field to another.
So to solve these problems, Microsoft.inc introduced its Graphical User Interface [GUI] based application with its Windows Operating System in the early 1990's.
2. Graphical User Interface [ GUI ]
Graphical User Interface [ GUI ] provides a beautiful feature known as "LOOK AND FEEL". In Order to develop them Microsoft.inc has introduced a language into the market known as VB in the 1990's.
When the .NET framework was developed, then it contained a lots of programming languages within itself and among them VB.NET is one.
Microsoft.inc has provided support for the development of Windows Based Application by taking the help of all languages of .NET framework along with VB.NET.
In order to develop Windows Based Application we basically need a set of components known as Controls in .NET Framework.
TOOLBOX
In the .NET Framework Toolbox is the container that contains all the necessary controls required for the development of windows applications. In a Toolbox, varied number of controls are present and each control is treated as a class under " System.Windows.Forms " namespace.
Toolbox controls are categorised into two :-
* Container Controls
* Non-Container Controls
Container Controls are the controls which are capable of holding any other controls within themselves.
For Example: Panel, GroupBox, TabControl, etc.
Whereas Non-Container controls can only be used only after placing them in a container.
For Example: Button, Label, TextBox, ComboBox, etc.
Note : Each and every toolbox have three things in common, ie., properties, methods and events.
Properties: These are the attributes of a control and properties have their own impact on the look of each and every control.
Methods : Each and every toolbox control has some pre-defined methods and by taking the help of these methods, a control can perform the corresponding actions.
Example : Clear(); Focus(); Close(); etc
Events : Events refer to the time periods which specify when an action has to be performed.
Example: click, load, keypress, Mouseover, etc.
Comments
Post a Comment