Beispiel #1
0
        private void tableControl1_MouseDown(object sender, MouseEventArgs e)
        {
            TableControl tableControl = (TableControl)sender;

            tableControl.Select();
            DataObject data = new DataObject(DataFormats.Serializable, tableControl.Table);

            tableControl.DoDragDrop(data, DragDropEffects.Copy);
        }