Beispiel #1
0
 private void FormView_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
 {
     try
     {
         if (e.Shift)
         {
             PictureView.SetShift();
         }
         if (((char)e.KeyValue == 'X') && (e.Control == true))
         {
             //CUT
         }
         else
         {
             if (((char)e.KeyValue == 'C') && (e.Control == true))
             {
             }
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("d");
     }
 }
Beispiel #2
0
 private void ToolBox_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
 {
     PictureView.SetShift();
 }