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"); } }
private void ToolBox_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e) { PictureView.SetShift(); }