ПИбд-23 Тихоненков А.Е. Лабораторная №3 #10

Closed
YourDax wants to merge 8 commits from Lab3 into Lab2
Showing only changes of commit 203daf9a16 - Show all commits

View File

@ -65,7 +65,7 @@ namespace AntiAircraftGun
bodyColor = dialog.Color;
if (dialog.ShowDialog() == DialogResult.OK)
dopColor = dialog.Color;
_drawing = new AdvancedDrawingAntiAirCraftGun(
_drawingAntiAirCraftGun = new AdvancedDrawingAntiAirCraftGun(
random.Next(100, 300), // Ńęîđîńňü
random.Next(1000, 3000), // Âĺń
bodyColor, additionalColor, dopColor,
@ -89,7 +89,7 @@ namespace AntiAircraftGun
{
bodyColor = dialog.Color;
}
_drawing = new BaseDrawingAntiAirCraftGun(
_drawingAntiAirCraftGun = new BaseDrawingAntiAirCraftGun(
random.Next(100, 300), // Ńęîđîńňü
random.Next(1000, 3000), // Âĺń
bodyColor, additionalColor,
@ -140,7 +140,7 @@ namespace AntiAircraftGun
}
private void ButtonSelectZenit_Click(object sender, EventArgs e)
{
SelectedZenit = _drawing;
SelectedZenit = _drawingAntiAirCraftGun;
DialogResult = DialogResult.OK;
}