protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { if (_engine.EngineState != EngineState.ShutDown) { _shuttingDown = true; _engine.Shutdown(); e.Cancel = true; } }
protected override void OnStop() { engine.Shutdown(); }
protected override void OnClosing(System.ComponentModel.CancelEventArgs e) { if (_engine.EngineState != EngineState.ShutDown) { _shuttingDown = true; _engine.Shutdown(); e.Cancel = true; } }
protected override void OnStop() { engine.Shutdown(); }