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