Beispiel #1
0
        private void ReBox_KeyDown(object sender, KeyEventArgs e)
        {
            StopFlash();
            if (e.Modifiers == Keys.ControlKey)
            {
                switch (e.KeyData)
                {
                case Keys.C:
                    ReBox.Copy();
                    break;

                case Keys.P:
                    ReBox.Paste();
                    break;

                case Keys.X:
                    ReBox.Cut();
                    break;

                case Keys.A:
                    ReBox.SelectAll();
                    break;
                }
            }
        }
Beispiel #2
0
 private void PasteCtrlCToolStripMenuItem2_Click(object sender, EventArgs e)
 {
     ReBox.Paste();
 }