I have a contextmenustrip added to the nodes of a treeview. The menu appears when I right-click a node, but the target method of my contextmenustrip does not fire when I click on the label in the menu.
private ContextMenuStrip clientDocMenu = new ContextMenuStrip(); public frmContacts() { InitializeComponent(); this.clientDocMenu.Click += new EventHandler(this.clientDocMenu_Click); ... } private void clientDocMenu_Click(object sender, EventArgs e) { MessageBox.Show("Do something for the client."); }
REvans