protected override void Dispose(bool disposing) { try { if (disposing) { if (components != null) { components.Dispose(); } windowList.Dispose(); liveBox.Dispose(); munisToolBar.Dispose(); currentViewDevice?.Dispose(); controlParser.Dispose(); statusSlider.Dispose(); WatchdogInstance.Watchdog.StatusChanged -= Watchdog_StatusChanged; } } finally { base.Dispose(disposing); } }
protected override void Dispose(bool disposing) { try { if (disposing) { if (components != null) { components.Dispose(); } lastCmd?.Dispose(); windowList?.Dispose(); } } finally { base.Dispose(disposing); } }
protected override void Dispose(bool disposing) { try { if (disposing) { if (components != null) { components.Dispose(); } lastCommand?.Dispose(); liveBox.Dispose(); munisToolBar.Dispose(); windowList.Dispose(); OtherFunctions.EndProgram(); } } finally { base.Dispose(disposing); } }