public override void Dispose(bool disposing) { if (disposing) { if (_updateTimer != null) { _updateTimer.Enabled = false; _updateTimer.Elapsed -= new System.Timers.ElapsedEventHandler(UpdateTimer_Elapsed); } if (_netSnk != null) { if (_lmNetSnk != null) { _lmNetSnk.CloseAll(); } _netSnk = null; _lmNetSnk = null; } _netMux = null; } base.Dispose(disposing); }