зафиксировать всё

This commit is contained in:
Учебный 2023-11-12 11:12:17 +04:00
parent bad8d47c56
commit 756f0c10b9

View File

@ -51,16 +51,6 @@ namespace ProjectBoat_bae
{ {
return; return;
} }
//int pos = Convert.ToInt32(maskedTextBoxNumber.Text);
//if (_boats - pos != null)
//{
// MessageBox.Show("Объект удален");
// pictureBoxCollection.Image = _boats.ShowBoats();
//}
//else
//{
// MessageBox.Show("Не удалось удалить объект");
//}
int pos = -1; int pos = -1;
try try
{ {
@ -76,8 +66,6 @@ namespace ProjectBoat_bae
{ {
MessageBox.Show("Не удалось удалить объект"); MessageBox.Show("Не удалось удалить объект");
} }
} }
private void buttonRefreshCollection_Click_Click(object sender, EventArgs e) private void buttonRefreshCollection_Click_Click(object sender, EventArgs e)