From c271f95422571e70b48882df4dce203d67a9ce98 Mon Sep 17 00:00:00 2001 From: "evasina2312@gmail.com" Date: Wed, 21 Dec 2022 12:39:18 +0400 Subject: [PATCH] =?UTF-8?q?=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D1=83=D1=80=D0=BE=D0=B2=D0=BD=D0=B5?= =?UTF-8?q?=D0=B9=20=D0=BB=D0=BE=D0=B3=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ProjectMachine/FormMapWithSetTank.Designer.cs | 8 ++++---- ProjectMachine/ProjectMachine/FormMapWithSetTank.cs | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ProjectMachine/ProjectMachine/FormMapWithSetTank.Designer.cs b/ProjectMachine/ProjectMachine/FormMapWithSetTank.Designer.cs index c4d9479..032e286 100644 --- a/ProjectMachine/ProjectMachine/FormMapWithSetTank.Designer.cs +++ b/ProjectMachine/ProjectMachine/FormMapWithSetTank.Designer.cs @@ -70,7 +70,7 @@ this.groupBoxTools.Controls.Add(this.maskedTextBoxPosition); this.groupBoxTools.Controls.Add(this.buttonAddTank); this.groupBoxTools.Dock = System.Windows.Forms.DockStyle.Right; - this.groupBoxTools.Location = new System.Drawing.Point(799, 28); + this.groupBoxTools.Location = new System.Drawing.Point(441, 28); this.groupBoxTools.Name = "groupBoxTools"; this.groupBoxTools.Size = new System.Drawing.Size(233, 758); this.groupBoxTools.TabIndex = 0; @@ -256,7 +256,7 @@ this.pictureBox.Dock = System.Windows.Forms.DockStyle.Fill; this.pictureBox.Location = new System.Drawing.Point(0, 28); this.pictureBox.Name = "pictureBox"; - this.pictureBox.Size = new System.Drawing.Size(799, 758); + this.pictureBox.Size = new System.Drawing.Size(441, 758); this.pictureBox.TabIndex = 1; this.pictureBox.TabStop = false; // @@ -267,7 +267,7 @@ this.файлToolStripMenuItem}); this.menuStrip.Location = new System.Drawing.Point(0, 0); this.menuStrip.Name = "menuStrip"; - this.menuStrip.Size = new System.Drawing.Size(1032, 28); + this.menuStrip.Size = new System.Drawing.Size(674, 28); this.menuStrip.TabIndex = 2; this.menuStrip.Text = "menuStrip1"; // @@ -306,7 +306,7 @@ // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 20F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1032, 786); + this.ClientSize = new System.Drawing.Size(674, 786); this.Controls.Add(this.pictureBox); this.Controls.Add(this.groupBoxTools); this.Controls.Add(this.menuStrip); diff --git a/ProjectMachine/ProjectMachine/FormMapWithSetTank.cs b/ProjectMachine/ProjectMachine/FormMapWithSetTank.cs index d668f69..827e727 100644 --- a/ProjectMachine/ProjectMachine/FormMapWithSetTank.cs +++ b/ProjectMachine/ProjectMachine/FormMapWithSetTank.cs @@ -137,7 +137,7 @@ namespace ProjectMachine else { MessageBox.Show("Не удалось добавить объект"); - _logger.Information("Не удалось добавить объект"); + _logger.Warning("Не удалось добавить объект"); } } catch (StorageOverflowException ex) @@ -178,7 +178,7 @@ namespace ProjectMachine } else { - _logger.Information("Не удалось удалить объект по позиции {0}", pos); + _logger.Warning("Не удалось удалить объект по позиции {0}", pos); MessageBox.Show("Не удалось удалить объект"); } }