Изменил(а) на 'HoistingCrane/HoistingCrane/FormMapWithSetHoistingCrane.cs'
Signed-off-by: RomanovEgor <romanov17903@gmail.com>
This commit is contained in:
parent
446f363f01
commit
b7696437d3
@ -31,6 +31,8 @@ namespace HoistingCrane
|
|||||||
case "Вторая карта":
|
case "Вторая карта":
|
||||||
map = new SecondMap();
|
map = new SecondMap();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (map != null)
|
if (map != null)
|
||||||
{
|
{
|
||||||
@ -47,8 +49,6 @@ 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,6 +65,8 @@ 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))
|
||||||
|
Loading…
Reference in New Issue
Block a user