small fix add porthole when create airplane

This commit is contained in:
NikGapon 2022-11-23 20:38:09 +04:00
parent 8f9f2d0fa4
commit 800e689ef7

View File

@ -37,6 +37,7 @@ namespace Airbus
toolStripStatusLabelSpeed.Text = $"Скорость: {airbus.airbus?.Speed}";
toolStripStatusLabelWight.Text = $"Вес: {airbus.airbus?.Weight}";
toolStripStatusLabelColor.Text = $" : {airbus.airbus?.BodyColor}";
airbus.Upd_count_Porthole(count_porthole);
Draw();
}
@ -67,7 +68,7 @@ namespace Airbus
airbus?.ChangeBorders(pictureBox.Width, pictureBox.Height);
Draw();
}
CountPorthole count_porthole = CountPorthole.None;
CountPorthole count_porthole = CountPorthole.Ten;
private void comboBoxPortholeSer_SelectedIndexChanged(object sender, EventArgs e)
{