To prevent the default context menu of a TextBox from showing up, assign a empty context menu as shown below:
[C#]
textBox1.ContextMenu = new ContextMenu();
[VB.Net]
textBox1.ContextMenu = New ContextMenu()
To prevent the default context menu of a TextBox from showing up, assign a empty context menu as shown below:
[C#]
textBox1.ContextMenu = new ContextMenu();
[VB.Net]
textBox1.ContextMenu = New ContextMenu()
Fax: +1 919.573.0306
US: +1 919.481.1974
UK: +44 20 7084 6215
Toll Free (USA):
1-888-9DOTNET
Share with