コード例 #1
0
 private void DragLabels_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     System.Windows.Forms.Label wlab = (System.Windows.Forms.Label)sender;
     wlab.DoDragDrop(wlab.Text, DragDropEffects.Copy);
 }