PIbd-21_MasenkinMS_LabWork04
This commit is contained in:
parent
e40550d7a2
commit
faa713ee33
@ -159,7 +159,7 @@ namespace AccordionBus
|
||||
}
|
||||
|
||||
int pos = Convert.ToInt32(maskedTextBoxNumber.Text);
|
||||
if (obj - pos != null)
|
||||
if (obj - pos)
|
||||
{
|
||||
MessageBox.Show("Объект удален");
|
||||
pictureBoxCollection.Image = obj.ShowBuses();
|
||||
|
@ -85,7 +85,7 @@ namespace AccordionBus.Generics
|
||||
|
||||
if (obj != null)
|
||||
{
|
||||
collect._collection.Remove(pos);
|
||||
return collect._collection.Remove(pos);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user