delete holes and return one masssage box
This commit is contained in:
parent
9848138396
commit
533515c075
@ -127,6 +127,11 @@ namespace ArmoredVehicle
|
||||
MainForm form = new();
|
||||
if (form.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
if (form.SelectedMachine == null)
|
||||
{
|
||||
MessageBox.Show("Вы не создали объект");
|
||||
return;
|
||||
}
|
||||
DrawningObject machine = new(form.SelectedMachine);
|
||||
if (_mapsCollection[listBoxMaps.SelectedItem?.ToString() ?? string.Empty] + machine != -1)
|
||||
{
|
||||
|
@ -112,7 +112,6 @@
|
||||
/// </summary>
|
||||
private void Shaking()
|
||||
{
|
||||
|
||||
int j = _setMachines.Count - 1;
|
||||
for (int i = 0; i < _setMachines.Count; i++)
|
||||
{
|
||||
@ -134,7 +133,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
/// Метод отрисовки фона
|
||||
@ -190,7 +188,6 @@
|
||||
currentHeight++;
|
||||
}
|
||||
if (currentHeight > height) return;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -63,7 +63,6 @@
|
||||
{
|
||||
if (position < _maxCount && position >= 0)
|
||||
{
|
||||
|
||||
if (_places.ElementAt(position) != null)
|
||||
{
|
||||
T result = _places.ElementAt(position);
|
||||
@ -72,10 +71,8 @@
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
/// <summary>
|
||||
@ -99,9 +96,7 @@
|
||||
if (position < _maxCount && position >= 0)
|
||||
{
|
||||
Insert(this[position], position);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user