private void CommentBody_PreviewKeyDown(object sender, PreviewKeyDownEventArgs e)
{
if(e.Modifiers==Keys.Control)
switch (e.KeyCode)
{
case Keys.Z:
if (!CommentEdit.Visible) CommentBodyUndo.PerformClick();
else SystemSounds.Asterisk.Play();
break;
case Keys.X:
if (!CommentEdit.Visible) CommentBodyCut.PerformClick();
else SystemSounds.Asterisk.Play();
break;
case Keys.C:
CommentBodyCopy.PerformClick();
break;
case Keys.V:
if (!CommentEdit.Visible) CommentBodyPaste.PerformClick();
else SystemSounds.Asterisk.Play();
break;
case Keys.A:
CommentBodySelectAll.PerformClick();
break;
}
}