Next : Development of Form
Windows Forms Applications
C# supports two kinds of User Interfaces.
C.U.I (Character User Interface)
- This user interface supports a blank screen, with some characters only.
- It is not attractive for the user. That‘s why it is not suitable for the live projects.
G.U.I (Graphical User Interface)
- It supports graphical components like windows, icons, mouse pointer, toolbars, status bars, buttons etc.
- It is attractive for the user. That‘s why it is suitable for the live projects.
- Almost all the software‘s you are using today like Notepad, WordPad, Paint, MS Word, My computer and My documents etc., are the GUI applications.
Windows Forms Application:
- It can also be called as Windows Application.
- It‘s a collection of windows forms.
Form:
- The graphical container, which can contain the graphical controls like labels, textboxes, buttons, list boxes etc., is called as Form. It acts as container for the controls.
- It is also called as a window.
- It has the visual appearance with a title bar, icon, control box (with minimize button, maximize button and close button)
Creating a “Windows Forms Application” project:
- Open Microsoft Visual Studio 2010.
- Click on ―> File ―> New ―> Project.
- Select the language as Visual C#.
- Select the project type as Windows Forms Application.
- Enter the name and location of the project.
- Click on OK.
- Then it will create a windows forms application, along with a form, named Form1.
- Then the screen looks like this:
Next : Development of Form
No comments:
Post a Comment