From 79736c9e388c27f58411c33b8e61169e5fa35e2f Mon Sep 17 00:00:00 2001 From: gg12 darfren Date: Tue, 17 Oct 2023 11:52:51 +0400 Subject: [PATCH] Done --- Monorail/Monorail/MonorailForm.Designer.cs | 4 ++-- Monorail/Monorail/MonorailGenericStorage.cs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Monorail/Monorail/MonorailForm.Designer.cs b/Monorail/Monorail/MonorailForm.Designer.cs index c955859..649765a 100644 --- a/Monorail/Monorail/MonorailForm.Designer.cs +++ b/Monorail/Monorail/MonorailForm.Designer.cs @@ -117,14 +117,14 @@ namespace Monorail comboBoxStrategy.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; comboBoxStrategy.FormattingEnabled = true; comboBoxStrategy.Items.AddRange(new object[] { "Довести до центра", "Довести до края" }); - comboBoxStrategy.Location = new System.Drawing.Point(719, 12); + comboBoxStrategy.Location = new System.Drawing.Point(562, 12); comboBoxStrategy.Name = "comboBoxStrategy"; comboBoxStrategy.Size = new System.Drawing.Size(151, 28); comboBoxStrategy.TabIndex = 6; // // buttonStep // - buttonStep.Location = new System.Drawing.Point(768, 46); + buttonStep.Location = new System.Drawing.Point(619, 46); buttonStep.Name = "buttonStep"; buttonStep.Size = new System.Drawing.Size(94, 29); buttonStep.TabIndex = 7; diff --git a/Monorail/Monorail/MonorailGenericStorage.cs b/Monorail/Monorail/MonorailGenericStorage.cs index 88b1715..2b68475 100644 --- a/Monorail/Monorail/MonorailGenericStorage.cs +++ b/Monorail/Monorail/MonorailGenericStorage.cs @@ -7,7 +7,7 @@ using System.Linq; using System.Text; using System.Threading.Tasks; -namespace Monorail +namespace Monorail.Generics { internal class MonorailGenericStorage { @@ -33,7 +33,7 @@ namespace Monorail public void DelSet(string name) { - if (_monorailStorages.ContainsKey(name) == null) + if (!_monorailStorages.ContainsKey(name)) return; _monorailStorages.Remove(name); }