private void Copy1_Click(object sender, EventArgs e) { if (TextBox1.SelectionLength > 0) { TextBox1.Copy(); } }
private void CopyToolStripMenuItem_Click(object sender, EventArgs e) { TextBox1.Copy(); }