From 800e689ef7d357e9db7bfb4194239742026b8a4e Mon Sep 17 00:00:00 2001 From: NikGapon <45200250+NikGapon@users.noreply.github.com> Date: Wed, 23 Nov 2022 20:38:09 +0400 Subject: [PATCH] small fix add porthole when create airplane --- Airbus/Airbus/FormAirbus.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Airbus/Airbus/FormAirbus.cs b/Airbus/Airbus/FormAirbus.cs index cc5ee21..b905d0a 100644 --- a/Airbus/Airbus/FormAirbus.cs +++ b/Airbus/Airbus/FormAirbus.cs @@ -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) {