private void xebusBox_MouseDown(object sender, MouseEventArgs e) { Xe_Bus xb = (Xe_Bus)sender; xb.Select(); //xb.DoDragDrop(xb., DragDropEffects.Copy); }
private void mnuXeBus_Click(object sender, EventArgs e) { Xe_Bus xebus = new Xe_Bus(); xebus.ShowDialog(); }
private void xebusBos_DragDrop(object sender, DragEventArgs e) { Xe_Bus xb = (Xe_Bus)sender; // xb.Icon = (Bitmap)e.Data.GetData(DataFormats.Bitmap); }