ISBd_21.GordeevI.V._LabWork_07 #11

Closed
Igor_Gordeev wants to merge 7 commits from ISBd_21.GordeevI.V._LabWork_07 into ISBd_21.GordeevI.V._LabWork_06
2 changed files with 1 additions and 3 deletions
Showing only changes of commit 41e57526ba - Show all commits

View File

@ -30,7 +30,6 @@ namespace ElectricLocomotive
panelColorBlue.MouseDown += PanelColor_MouseDown;
buttonCancelObject.Click += (s, e) => Close();
}
public void AddEvent(Action<DrawningLocomotive> ev)
{

View File

@ -25,8 +25,7 @@ namespace ProjectElectricLocomotive.Generics
public int Insert(T loco, int position)
{
if (_places.Count >= _maxCount)
throw new StorageOverflowException(_maxCount);
if (position < 0 || position >= _maxCount)
{