Лабораторная работа №5
This commit is contained in:
parent
8230c4d0fd
commit
2b0bc907d1
@ -54,6 +54,11 @@ public partial class FormTruckCollection : Form
|
|||||||
form.Show();
|
form.Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void Dop_1()
|
||||||
|
{
|
||||||
|
FormTruckConfig form = new();
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Добавление автомобиля в коллекцию
|
/// Добавление автомобиля в коллекцию
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -35,6 +35,7 @@ namespace ProjectDumpTruck
|
|||||||
panelWhite.MouseDown += Panel_MouseDown;
|
panelWhite.MouseDown += Panel_MouseDown;
|
||||||
panelBlack.MouseDown += Panel_MouseDown;
|
panelBlack.MouseDown += Panel_MouseDown;
|
||||||
panelPurple.MouseDown += Panel_MouseDown;
|
panelPurple.MouseDown += Panel_MouseDown;
|
||||||
|
panelGray.MouseDown += Panel_MouseDown;
|
||||||
|
|
||||||
buttonCancel.Click += (object sender, EventArgs e) => Close();
|
buttonCancel.Click += (object sender, EventArgs e) => Close();
|
||||||
}
|
}
|
||||||
@ -46,7 +47,7 @@ namespace ProjectDumpTruck
|
|||||||
public void AddEvent(Action<DrawningTruck> truckDelegate)
|
public void AddEvent(Action<DrawningTruck> truckDelegate)
|
||||||
{
|
{
|
||||||
DrawningTruckEvent += truckDelegate;
|
DrawningTruckEvent += truckDelegate;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -164,7 +165,5 @@ namespace ProjectDumpTruck
|
|||||||
Close();
|
Close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user