private void panel_DragDrop(object sender, DragEventArgs e) { ((Control)sender).BackColor = (Color)e.Data.GetData(BackColor.GetType()); }