|
this.menuItem1.Click + = new System.EventHandler (this.menuItem1_Click);
Ranch
private void menuItem1_Click (object sender, System.EventArgs e)
{
MessageBox.Show ("sjhiyan");
}
I made it appear like this, maybe it's wrong?
this.contextMenu_MapControl.Show (this.axMapControl1, pt);
When menu is clicked, menuItem1_Click cannot be executed, and the dialog box cannot be seen.
What happened? ? |
|