Пример #1
0
        private void addDriver( IDriver myDriver)
        {
            myDriver.SetParent(this);
            if (_loadedDrivers.ContainsKey(myDriver.ID))
            {
                _loadedDrivers[myDriver.ID] = myDriver;
            }
            else
            {
                _loadedDrivers.Add(myDriver.ID, myDriver);
            }

            this.DoUpdate("ADDED", myDriver.ID);
        }