форматирование кода

This commit is contained in:
Мельников Игорь 2022-11-09 18:39:13 +04:00
parent 262b7106d1
commit 2bac38aea2

View File

@ -113,26 +113,6 @@
FormLocomotiveConfig formLocomotiveConfig = new();
formLocomotiveConfig.AddEvent(new (AddLocomotive));
formLocomotiveConfig.Show();
/*
if (listBoxMaps.SelectedIndex == -1)
{
return;
}
FormLocomotive form = new();
if (form.ShowDialog() == DialogResult.OK)
{
DrawningObjectLocomotive locomotive = new(form.SelectedLocomotive);
if ((_mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty] + locomotive) > -1)
{
MessageBox.Show("Объект добавлен");
pictureBoxLocomotives.Image = _mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty].ShowSet();
}
else
{
MessageBox.Show("Не удалось добавить объект");
}
}
*/
}
private void AddLocomotive(DrawningLocomotive locomotive)
{