правки лаб3
This commit is contained in:
parent
358c3795cd
commit
5c2d3d0465
@ -29,7 +29,7 @@ namespace Monorail
|
|||||||
|
|
||||||
if (form.ShowDialog() == DialogResult.OK)
|
if (form.ShowDialog() == DialogResult.OK)
|
||||||
{
|
{
|
||||||
if (_monorails + form.SelectedMonorail)
|
if (_monorails + form.SelectedMonorail != -1)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Объект добавлен");
|
MessageBox.Show("Объект добавлен");
|
||||||
pictureBoxCollection.Image = _monorails.ShowMonorails();
|
pictureBoxCollection.Image = _monorails.ShowMonorails();
|
||||||
|
Loading…
Reference in New Issue
Block a user