0% found this document useful (0 votes)
6 views4 pages

Lab 4

The document outlines the tasks for Lab 7, focusing on creating forms with menus in a C# application. It covers concepts such as Menustrip, Menuitem functionalities, and label font manipulation through menu options. Additionally, it mentions creating a List View and Tree structure in the application.

Uploaded by

Ahmed Al-nasheri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

Lab 4

The document outlines the tasks for Lab 7, focusing on creating forms with menus in a C# application. It covers concepts such as Menustrip, Menuitem functionalities, and label font manipulation through menu options. Additionally, it mentions creating a List View and Tree structure in the application.

Uploaded by

Ahmed Al-nasheri
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

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

You might also like