public void CloseHide() { //PropertyStore.StoreMetrics((Window) this); this.Visibility = Visibility.Collapsed; this.Hide(); PropertyStore.StoreMetrics((Window)this); }
protected override void OnClosed(EventArgs e) { if (this.mDisplay.IsVisible) { PropertyStore.StoreMetrics((Window)this.mDisplay); } this.mDisplay.CloseWindow = true; this.mDisplay.Close(); PropertyStore.StoreMetrics((Window)this); base.OnClosed(e); BibleLive.App.Current.Shutdown(0); }