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