private void OnClosed(CoreWindow sender, CoreWindowEventArgs args) { if (m_parent.IsAlive) { var parent = m_parent.Target as App; parent.RemoveSecondaryWindow(this); } }
private void LogView_Closed(object sender, CoreWindowEventArgs e) { Window.Current.Closed -= LogView_Closed; _logView = null; _logViewFrame = null; ViewModel.DataReceived -= ViewModel_DataReceived; ViewLogButton.IsChecked = false; }
private void WindowView_Closed(object sender, CoreWindowEventArgs e) { WindowView.SizeChanged -= WindowView_SizeChanged; WindowView.Closed -= WindowView_Closed; if (NavigationManager.RootNavigationService is FrameNavigationService) { ((FrameNavigationService)NavigationManager.RootNavigationService).NavigationFrame.Navigated -= HandleTopLevelNavigationForBackButton_NavigationFrame_Navigated; } }
private async void Current_Closed(object sender, CoreWindowEventArgs e) { Debug.WriteLine("창이 닫김"); bool modeSwitched = await ApplicationView.GetForCurrentView().TryEnterViewModeAsync(ApplicationViewMode.Default); }
private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args) { }
private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args) { this.Closed?.Invoke(this, EventArgs.Empty); }
private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args) { Game.SuppressDraw(); Game.Platform.Exit(); }
void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg) { windowClosed = true; }
private void Current_Closed(object sender, CoreWindowEventArgs e) => this.ContentDataContext?.TryDispose();
private void Window_Closed(object sender, CoreWindowEventArgs e) { OnClosed(e); }
/// <summary> //当关闭窗口时 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private async void Current_Closed(object sender, CoreWindowEventArgs e) { await CheckIfHasDownloadTasks(); }
protected override void OnClosed(CoreWindowEventArgs e) { base.OnClosed(e); }
private void Current_Closed(object sender, CoreWindowEventArgs e) { var id = ApplicationView.GetForCurrentView().Id; _IDToView.Remove(id); }
private void CoreWindow_Closed(CoreWindow sender, CoreWindowEventArgs args) { Debug.WriteLine($"{ApplicationView.GetForCurrentView().Id} was closed"); }
protected virtual void OnClosed(CoreWindowEventArgs e) { }
private static void Window_Closed(object sender, CoreWindowEventArgs e) { UnRegister(sender as Window); }
private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args) { Game.Exit(); }
private void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg) { this.windowClosed = true; }
private void WindowClosed(CoreWindow sender, CoreWindowEventArgs args) { Debug.LogMessage("App.WindowClosed"); }
private void WidgetMainSettingsWindow_Closed(object sender, CoreWindowEventArgs e) { widgetMainSettings = null; Window.Current.Closed -= WidgetMainSettingsWindow_Closed; }
private void OnCloseNewWindow(object sender, CoreWindowEventArgs e) { var viewId = ApplicationView.GetForCurrentView().Id; windows.Remove(viewId); }
private void OnFrendsListWidgetClosed(object sender, CoreWindowEventArgs e) { Window.Current.Closed -= OnFrendsListWidgetClosed; _friendsListWidget = null; }
private void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg) { Debug.WriteLine("VRPlayer.AppView.OnWindowClosed"); windowClosed = true; }
private void OnClosed(CoreWindow sender, CoreWindowEventArgs args) { this.bindingConnector.Dispose(); }
private void OnClosed(object sender, CoreWindowEventArgs e) { Closed?.Invoke(this, EventArgs.Empty); }
void IWindowEventSink.OnClosed(object sender, CoreWindowEventArgs e) { }
private void OnCoreWindowClosed(CoreWindow sender, CoreWindowEventArgs args) { Closing?.Invoke(); Closed?.Invoke(); }
private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args) { this.WindowClosed = true; }
private void Current_Closed(object sender, CoreWindowEventArgs e) { e.Handled = false; }