diff --git a/ProjectLocomotive/ProjectLocomotive/DrawningElectroLocomotive.cs b/ProjectLocomotive/ProjectLocomotive/DrawningElectroLocomotive.cs index db8f44f..89e6053 100644 --- a/ProjectLocomotive/ProjectLocomotive/DrawningElectroLocomotive.cs +++ b/ProjectLocomotive/ProjectLocomotive/DrawningElectroLocomotive.cs @@ -40,7 +40,6 @@ namespace ProjectLocomotive return; } Pen pen = new(Color.Black); - if (elLocc.ElectroLines) { g.DrawLine(pen, _startPosX + 20, _startPosY, _startPosX + 5, _startPosY - 12); diff --git a/ProjectLocomotive/ProjectLocomotive/ExtentionLocomotive.cs b/ProjectLocomotive/ProjectLocomotive/ExtentionLocomotive.cs index 7f4d18b..d880093 100644 --- a/ProjectLocomotive/ProjectLocomotive/ExtentionLocomotive.cs +++ b/ProjectLocomotive/ProjectLocomotive/ExtentionLocomotive.cs @@ -19,7 +19,6 @@ namespace ProjectLocomotive } return $"{str}{_separatorForObject}{warmlyLocomotive.DopColor.Name}{_separatorForObject}{warmlyLocomotive.ElectroLines}{_separatorForObject}{warmlyLocomotive.ElectroBattery}"; } - public static DrawningLocomotive createDrawningLocomotive(this string info) { string[] strs = info.Split(_separatorForObject); diff --git a/ProjectLocomotive/ProjectLocomotive/FormLocomotive.Designer.cs b/ProjectLocomotive/ProjectLocomotive/FormLocomotive.Designer.cs index bd67b24..3f0412e 100644 --- a/ProjectLocomotive/ProjectLocomotive/FormLocomotive.Designer.cs +++ b/ProjectLocomotive/ProjectLocomotive/FormLocomotive.Designer.cs @@ -19,9 +19,7 @@ } base.Dispose(disposing); } - #region Windows Form Designer generated code - /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. diff --git a/ProjectLocomotive/ProjectLocomotive/FormLocomotiveConfig.Designer.cs b/ProjectLocomotive/ProjectLocomotive/FormLocomotiveConfig.Designer.cs index 9314077..21246c9 100644 --- a/ProjectLocomotive/ProjectLocomotive/FormLocomotiveConfig.Designer.cs +++ b/ProjectLocomotive/ProjectLocomotive/FormLocomotiveConfig.Designer.cs @@ -360,7 +360,6 @@ this.panelObject.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBoxObject)).EndInit(); this.ResumeLayout(false); - } #endregion private GroupBox groupBoxConfig; diff --git a/ProjectLocomotive/ProjectLocomotive/FormMapWithSetLocomotives.cs b/ProjectLocomotive/ProjectLocomotive/FormMapWithSetLocomotives.cs index 39e2ecb..0cbe158 100644 --- a/ProjectLocomotive/ProjectLocomotive/FormMapWithSetLocomotives.cs +++ b/ProjectLocomotive/ProjectLocomotive/FormMapWithSetLocomotives.cs @@ -196,7 +196,6 @@ namespace ProjectLocomotive } } } - private void loadToolStripMenuItem_Click(object sender, EventArgs e) { if (loadFileDialog.ShowDialog() == DialogResult.OK) diff --git a/ProjectLocomotive/ProjectLocomotive/MapsCollection.cs b/ProjectLocomotive/ProjectLocomotive/MapsCollection.cs index 31fe400..c11a9eb 100644 --- a/ProjectLocomotive/ProjectLocomotive/MapsCollection.cs +++ b/ProjectLocomotive/ProjectLocomotive/MapsCollection.cs @@ -64,7 +64,6 @@ namespace Locomotive sw.WriteLine("MapsCollection"); foreach (var storage in _mapStorages) { - sw.WriteLine( $"{storage.Key}{separatorDict}{storage.Value.GetData(separatorDict, separatorData)}" );