GUI Session03
GUI Session03
GUI Session03
Installing Development
Windows XP Professional Using Using .NET
Attended Framework
Installation
Objectives
Knowledge Byte
Advantages of GUI:
GUI enables a user to run an application by using easy to
remember and convenient to use options, such as menus, icons,
and toolbars.
GUI eliminates the need to remember text commands to perform
complicated operations.
GUI provides visual feedback for the user.
Activated
Shown
Deactivated
Form Closed
Deactivated
Panel Control:
Is similar to a container control.
Acts as a parent control.
Is used to define a common behavior for all child controls.
TabControl Control:
Acts as a container for logical groups of different sets of controls.
Allows users to see one logical group of controls at any point of
time.
Allows users to switch from one logical group of controls to
another by selecting the appropriate tab.
MonthCalendar Control:
Is used to select and view information pertaining to the date.
Can be used to display the date on the basis of the regional
settings available within the control panel.
Best Practices
FAQs
FAQs (Contd.)
What is a debugger?
A debugger refers to software that helps in identifying and
removing bugs from the program. When you execute your
application, the debugger attaches itself to the program and
provides you with various types of information such as the run
time state of the program and values of the variables. You can
also specify the point in your code where you want to see
values of different variables during run time. These points are
known as break points.
FAQs (Contd.)
Challenge
Challenge (Contd.)
Answer:
a 1. The compiler translates the code into Intermediate
Language (IL).
2. The JIT compiler converts the IL into machine language during
runtime.
Challenge (Contd.)
Answer:
b. Solution Explorer window
Challenge (Contd.)
Answer:
c. Dockable
Challenge (Contd.)
Challenge (Contd.)
Answer:
d. Form2 obj = new Form2();
obj.Show();
Challenge (Contd.)
Challenge (Contd.)
Answer:
b. private void Form1_Load(object sender, EventArgs e)
{ listBooks.Hide(); }