private void WidgetSettingsWindowClosed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { // Unregister events Window.Current.Closed -= WidgetSettingsWindowClosed; // Cleanup game bar objects _widget = null; }
private void WidgetMainWindowClosed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { // Unregister events Window.Current.Closed -= WidgetMainWindowClosed; _widget.SettingsClicked -= Widget_SettingsClicked; // Cleanup game bar objects _widget = null; _widgetControl = null; }
void OnWindowClosed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { Log.WriteLine("OnWindowClosed"); return; }
private void Widget1Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { widget1 = null; Window.Current.Closed -= Widget1Window_Closed; }
private void Current_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { }
private void MainPage_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { widget = null; Window.Current.Closed -= MainPage_Closed; }
/// <summary> /// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void WidgetBrowserSettingsWindow_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { this.widgetBrowserSettings = null; Window.Current.Closed -= WidgetBrowserSettingsWindow_Closed; }
private void SettingsWidgetWindow_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { settingsWidget = null; Window.Current.Closed -= SettingsWidgetWindow_Closed; }
private void BrowserWidgetWindow_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { browserWidget = null; Window.Current.Closed -= BrowserWidgetWindow_Closed; }
private void CrosshairWindow_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { crosshair = null; Window.Current.Closed -= CrosshairWindow_Closed; }
private void Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { sample.EndTest(); }
private static void Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { UnRegister(sender as Window); }
private void Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e) { UninitializeSDK(); }