Lab 7
Menus
First: Create the following form, with the displayed menu:
Discuss the following concepts:
Menustrip
Menuitem (Add, modify and delete)
Separater Line
Submenus
Shortcuts (Using &)
ShortCut property + ShowShortcut
Righttoleft property
Second: Create another form, with the following Menu
1
Add an ordinary label to the form, then
Activate the displayed menu items as follows:
A) Close Closes the form
B) Red Changes the font color of the label into red
C) Blue Changes the font color of the label into blue
D) Green Changes the font color of the label into green
E) Times New Roman Changes the font name of the label to "Times New
Roman"
F) Arial Changes the font name of the label to "Arial"
G) Tahoma Changes the font name of the label to "Tahoma"
H) Bold, Italic and Underline each changes the style of the label font
Hint: Make them act like Checkboxes, working with properties
(CheckOnClick and Checked)
2
List View
Create C# Application called listViewFormTest which look like
After you run the program it will display
This program will allow you to add name an association to the view list.
3
Tree