private void ToolStripMenuItemEditCut_Click(object sender, EventArgs e) { if (this.treeView.ContainsFocus) { this.ClipboardCopy(true); } else { this.textBoxHTML.Cut(); } }