private void ScriptTextBox_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.F5 && e.Control) { RunBtn_Click(null, null); } else if (e.Control && e.KeyCode == Keys.V) { e.SuppressKeyPress = true; ScriptTextBox.Paste(DataFormats.GetFormat(DataFormats.Text)); } }