Visual Programming using C#
Lecturer: Saman M. Almufti / Kurdistan Region, Nawroz University, (Visitor : Ararat Institute)
facebook: https://www.facebook.com/saman.malmufti
youtube link: https://youtu.be/OB4pmFx0HA4
IN THIS LECTURE:
1-ContextMenuStrip
2- RichTextBox
Convert to study materialsBETA
Transform any presentation into ready-made study materialselect from outputs like summaries, definitions, and practice questions.
1 of 9
Download to read offline
More Related Content
Vp lecture 11 ararat
4. Select the ContextMenuStrip control and start adding the name of menus, for example I added menus like Background,
foreground and then add form, button submenu to Background menu .
5. After adding the name of the menu on you application, right-click on the Windows Forms application and go to the
properties.
Select "ContextMenuStrip" and change it to ContextMenuStrip1 from (none).
To add code to menus double click in the menu and add the code
6. run the project and right-click on the form, the Context Menu will appear on the form as shown in the
following image.
7. RichTextBox has many formatting options.
It applies colors, background colors,
multiple fonts, and margins to the text.
It adds more complexity than the regular TextBox.
But the RichTextBox provides needed features to
programs.