private void Cut() { WriteToClipboard(scripts[tabControl1.SelectedIndex].SelectedText); scripts[tabControl1.SelectedIndex].SelectedText = ""; }