How to disable the default ContextMenu of a TextBox?

 Posted by vishalneeraj-24503 on 12/15/2013 | Category: Windows Forms Interview questions | Views: 5655 | Points: 40

By creating new object of ContextMenu class,we can disable ContextMenu of a TextBox.

txt_name.ContextMenu = new ContextMenu();

Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response