Exemplo n.º 1
0
 private void ListPomsMouseClick(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         ProjectContextMenuStrip.Show(_listPoms, e.Location);
     }
 }
Exemplo n.º 2
0
 private void TreePomsNodeMouseClick(object sender, TreeNodeMouseClickEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         _treePoms.SelectedNode = e.Node;
         ProjectContextMenuStrip.Show(_treePoms, e.Location);
     }
     else
     {
         _treePoms.SelectedNode = e.Node;
     }
 }