Profile Picture

NcontextMenu Exeption

Posted By Volvick Derose 13 Years Ago
Author
Message
Volvick Derose
Posted 13 Years Ago
View Quick Profile
Forum Guru

Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)Forum Guru (71 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 71, Visits: 1
Try to display a context menu from the following code. It works fine, however when I choose any other skin from the pallet like "Office 2007 Blue", "Blue" or any other skin name, I get an exception. Only vista plus is working without exception

private void Form1_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == System.Windows.Forms.MouseButtons.Right)
{
nContextMenu1.Show(MousePosition);
}
}






Similar Topics


Reading This Topic