Interview questions

.Net - ContextMenu component

Next question>>           Learn .NET
.Net -  - June 03, 2009 at 11:00 AM by Shuchi Gauri

Explain the process of creating a context menu using the ContextMenu component.

ContextMenu component provides the users with the ability to access some very frequently used commands. Context menu works by right click of mouse. They mainly provide access to commands particular to the control that has been clicked upon.

Process for creating context menus:

a. Open the windows form application.
b. Select ContextMenu component from toolbox.
c. A menu is added. Click on Type here and type in new Menu Items to be placed on the Menu.
d. Provide the functionality.
e. Associate the context menu with the form or the control it is supposed to be related to.

Next question>>

Also read

.NET Menu

Define context menu.
What is the purpose of CloneMenu?
Explain how to dynamically add items to a menu in .NET.
Explain how to dynamically clone a menu in .NET..................

Explain the process of creating a menu using the MainMenu component.

MainMenu component is a component that allows the display of Menus at runtime on a form.........

Explain the process of creating a menu using the MainMenu component.

MainMenu component is a component that allows the display of Menus at runtime on a form......... 



Write your comment - Share Knowledge and Experience


 

 
Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring