Удалены лишние пробелы. Лабароторная работа 6
This commit is contained in:
parent
b4e17fa1f7
commit
5510ce31d0
@ -40,7 +40,6 @@ namespace ProjectLocomotive
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Pen pen = new(Color.Black);
|
Pen pen = new(Color.Black);
|
||||||
|
|
||||||
if (elLocc.ElectroLines)
|
if (elLocc.ElectroLines)
|
||||||
{
|
{
|
||||||
g.DrawLine(pen, _startPosX + 20, _startPosY, _startPosX + 5, _startPosY - 12);
|
g.DrawLine(pen, _startPosX + 20, _startPosY, _startPosX + 5, _startPosY - 12);
|
||||||
|
@ -19,7 +19,6 @@ namespace ProjectLocomotive
|
|||||||
}
|
}
|
||||||
return $"{str}{_separatorForObject}{warmlyLocomotive.DopColor.Name}{_separatorForObject}{warmlyLocomotive.ElectroLines}{_separatorForObject}{warmlyLocomotive.ElectroBattery}";
|
return $"{str}{_separatorForObject}{warmlyLocomotive.DopColor.Name}{_separatorForObject}{warmlyLocomotive.ElectroLines}{_separatorForObject}{warmlyLocomotive.ElectroBattery}";
|
||||||
}
|
}
|
||||||
|
|
||||||
public static DrawningLocomotive createDrawningLocomotive(this string info)
|
public static DrawningLocomotive createDrawningLocomotive(this string info)
|
||||||
{
|
{
|
||||||
string[] strs = info.Split(_separatorForObject);
|
string[] strs = info.Split(_separatorForObject);
|
||||||
|
@ -19,9 +19,7 @@
|
|||||||
}
|
}
|
||||||
base.Dispose(disposing);
|
base.Dispose(disposing);
|
||||||
}
|
}
|
||||||
|
|
||||||
#region Windows Form Designer generated code
|
#region Windows Form Designer generated code
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Required method for Designer support - do not modify
|
/// Required method for Designer support - do not modify
|
||||||
/// the contents of this method with the code editor.
|
/// the contents of this method with the code editor.
|
||||||
|
@ -360,7 +360,6 @@
|
|||||||
this.panelObject.ResumeLayout(false);
|
this.panelObject.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.pictureBoxObject)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.pictureBoxObject)).EndInit();
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
private GroupBox groupBoxConfig;
|
private GroupBox groupBoxConfig;
|
||||||
|
@ -196,7 +196,6 @@ namespace ProjectLocomotive
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
private void loadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (loadFileDialog.ShowDialog() == DialogResult.OK)
|
if (loadFileDialog.ShowDialog() == DialogResult.OK)
|
||||||
|
@ -64,7 +64,6 @@ namespace Locomotive
|
|||||||
sw.WriteLine("MapsCollection");
|
sw.WriteLine("MapsCollection");
|
||||||
foreach (var storage in _mapStorages)
|
foreach (var storage in _mapStorages)
|
||||||
{
|
{
|
||||||
|
|
||||||
sw.WriteLine(
|
sw.WriteLine(
|
||||||
$"{storage.Key}{separatorDict}{storage.Value.GetData(separatorDict, separatorData)}"
|
$"{storage.Key}{separatorDict}{storage.Value.GetData(separatorDict, separatorData)}"
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user