Example #1
0
 private void KSPInstancesListView_Click(object sender, MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Right)
     {
         InstanceListContextMenuStrip.Show(this, new System.Drawing.Point(e.X, e.Y));
     }
 }
Example #2
0
 private void GameInstancesListView_KeyDown(object sender, KeyEventArgs e)
 {
     switch (e.KeyCode)
     {
     case Keys.Apps:
         InstanceListContextMenuStrip.Show(Cursor.Position);
         e.Handled = true;
         break;
     }
 }