Исправлено название переменной
This commit is contained in:
parent
50c261a24c
commit
8380d8b6c4
@ -65,8 +65,8 @@ namespace WarmlyLocomotive
|
||||
FormLocomotive form = new();
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
DrawningObjectLocomotive car = new(form.SelectedLocomotive);
|
||||
if (_mapLocomotivesCollectionGeneric + car != -1)
|
||||
DrawningObjectLocomotive locomotive = new(form.SelectedLocomotive);
|
||||
if (_mapLocomotivesCollectionGeneric + locomotive != -1)
|
||||
{
|
||||
MessageBox.Show("Объект добавлен");
|
||||
pictureBox.Image = _mapLocomotivesCollectionGeneric.ShowSet();
|
||||
|
Loading…
Reference in New Issue
Block a user