lab5 done
This commit is contained in:
parent
2b1e5e0d5e
commit
f3fbf1e64f
@ -92,12 +92,12 @@ namespace MotorBoat
|
||||
{
|
||||
case "labelSimpleObject":
|
||||
_boat = new DrawningBoat((int)numericUpDownSpeed.Value,
|
||||
(int)numericUpDownWeight.Value, Color.White, pictureBoxObject.Width, pictureBoxObject.Height);
|
||||
(int)numericUpDownWeight.Value, Color.White, 900, 500);
|
||||
break;
|
||||
case "labelModifiedObject":
|
||||
_boat = new DrawningMotorBoat((int)numericUpDownSpeed.Value,
|
||||
(int)numericUpDownWeight.Value, Color.White, Color.Black, checkBoxGlass.Checked,
|
||||
checkBoxEngine.Checked, pictureBoxObject.Width, pictureBoxObject.Height);
|
||||
checkBoxEngine.Checked, 900, 500);
|
||||
break;
|
||||
}
|
||||
DrawBoat();
|
||||
|
Loading…
x
Reference in New Issue
Block a user