This commit is contained in:
gg12 darfren 2023-10-17 11:52:51 +04:00
parent 489f116e75
commit 79736c9e38
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);
}