diff --git a/base/Catamaran/Catamaran/Catamaran.cs b/base/Catamaran/Catamaran/Catamaran.cs index b2c4c73..6eaeb63 100644 --- a/base/Catamaran/Catamaran/Catamaran.cs +++ b/base/Catamaran/Catamaran/Catamaran.cs @@ -57,7 +57,7 @@ namespace Catamaran private void buttonCreateSailCatamaran_Click(object sender, EventArgs e) { Random random = new(); - //ё TODO выбор основного цвета + //TODO выбор основного цвета Color color = Color.FromArgb(random.Next(0, 256), random.Next(0, 256), random.Next(0, 256)); ColorDialog dialogColor = new(); diff --git a/base/Catamaran/Catamaran/FormCatamaranConfig.cs b/base/Catamaran/Catamaran/FormCatamaranConfig.cs index 377c094..ced2571 100644 --- a/base/Catamaran/Catamaran/FormCatamaranConfig.cs +++ b/base/Catamaran/Catamaran/FormCatamaranConfig.cs @@ -122,7 +122,7 @@ namespace Catamaran case "labelModifiedObject": _catamaran = new DrawningSailCatamaran((int)numericUpDownSpeed.Value, (int)numericUpDownWeight.Value, Color.White, Color.Black, checkBoxSail.Checked, - checkBoxFloatDetails.Checked, pictureBoxObject.Width, + checkBoxFloatDetails.Checked, pictureBoxObject.Width, pictureBoxObject.Height); break; } @@ -168,6 +168,7 @@ namespace Catamaran EventAddCatamaran?.Invoke(_catamaran); Close(); } + }; +}; + - } -}