Третья лабораторная работа

This commit is contained in:
10Г Егор Романов 2022-10-10 19:53:02 +03:00
parent b7696437d3
commit 02fb15453d

View File

@ -49,6 +49,8 @@ namespace HoistingCrane
{ {
if (_mapHoistingCraneCollectionGeneric == null) if (_mapHoistingCraneCollectionGeneric == null)
{ {
return;
}
FormHoistingCrane form = new(); FormHoistingCrane form = new();
if (form.ShowDialog() == DialogResult.OK) if (form.ShowDialog() == DialogResult.OK)
{ {
@ -65,8 +67,6 @@ namespace HoistingCrane
} }
} }
}
}
private void ButtonRemoveHoistingCrane_Click(object sender, EventArgs e) private void ButtonRemoveHoistingCrane_Click(object sender, EventArgs e)
{ {
if (string.IsNullOrEmpty(maskedTextBoxPosition.Text)) if (string.IsNullOrEmpty(maskedTextBoxPosition.Text))