e boi
This commit is contained in:
parent
8bab8db58c
commit
fef842950e
@ -114,47 +114,7 @@ public partial class FormTruckConfig : Form
|
||||
DrawObject();
|
||||
|
||||
}
|
||||
//допка
|
||||
//private void LabelObject_MouseDown(object sender, MouseEventArgs e)
|
||||
//{
|
||||
// Label? label = sender as Label;
|
||||
// if (label?.Name == "labelSimpleObject")
|
||||
// {
|
||||
// label?.DoDragDrop(new DrawningTruck((int)numericUpDownSpeed.Value,
|
||||
// (double)numericUpDownWeight.Value, Color.White), DragDropEffects.Copy);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// label?.DoDragDrop(new DrawningDumpTruck((int)numericUpDownSpeed.Value,
|
||||
// (double)numericUpDownWeight.Value, Color.White, Color.Black, checkBoxAwning.Checked, checkBoxTent.Checked), DragDropEffects.Copy);
|
||||
// }
|
||||
//}
|
||||
|
||||
//private void PanelObject_DragDrop(object sender, DragEventArgs e)
|
||||
//{
|
||||
// if ((DrawningTruck?)e.Data.GetData(typeof(DrawningTruck)) != null)
|
||||
// {
|
||||
// _truck = (DrawningTruck?)e.Data.GetData(typeof(DrawningTruck));
|
||||
// }
|
||||
// else if ((DrawningDumpTruck?)e.Data.GetData(typeof(DrawningDumpTruck)) != null)
|
||||
// {
|
||||
// _truck = (DrawningDumpTruck?)e.Data.GetData(typeof(DrawningDumpTruck));
|
||||
// }
|
||||
|
||||
// DrawObject();
|
||||
//}
|
||||
|
||||
//private void PanelObject_DragEnter(object sender, DragEventArgs e)
|
||||
//{
|
||||
// if ((e.Data.GetDataPresent(typeof(DrawningTruck))) || e.Data.GetDataPresent(typeof(DrawningDumpTruck)))
|
||||
// {
|
||||
// e.Effect = DragDropEffects.Copy;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// e.Effect = DragDropEffects.None;
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Панель отправка цвета при нажатии на Panel
|
||||
|
Loading…
x
Reference in New Issue
Block a user