Hello Ray,
Thanks for sending the sample. It seems the Diagram.MouseUp event is not there in the sample that you have attached with this. I have modified the sample to use Diagram.MouseUp() event method and called the ContextMenuStrip.Show() method within this event. Below is the sample code snippet for your reference.
this.diagram.MouseUp += new System.Windows.Forms.MouseEventHandler(this.diagram_MouseUp);
private void diagram_MouseUp(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Right)
{
this.contextMenuStrip1.Show(this.diagram, e.X,e.Y);
}
}
As with the above code, the application shows the context menu as expected. I have also attached the modified sample with this. You can get the sample from the following link -
http://websamples.syncfusion.com/samples/Diagram.Windows/F62632/main.htmPlease look into the sample and let me know if have any more question regarding this.
Thanks,
Meera.