复制:
ym4nmA-T/mL(c"q3Sq0private void button1_Click(object sender, System.EventArgs e) {
2\9eu6\6SM0  // Takes the selected text from a text box and puts it on the clipboard.
u:ixpoxYj1@0  if(textBox1.SelectedText != ”")ITPUB个人空间;sq-_\&_!K+]uV,zT
  Clipboard.SetDataObject(textBox1.SelectedText);
1hP A&Lj+DU0  }

5o?$@YT h.\0主要通过调用Clipborad的API完成。

相关文章: