예제 #1
0
        private void WidgetSettingsWindowClosed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
        {
            // Unregister events
            Window.Current.Closed -= WidgetSettingsWindowClosed;

            // Cleanup game bar objects
            _widget = null;
        }
예제 #2
0
        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;
        }
예제 #3
0
 void OnWindowClosed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     Log.WriteLine("OnWindowClosed");
     return;
 }
예제 #4
0
 private void Widget1Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     widget1 = null;
     Window.Current.Closed -= Widget1Window_Closed;
 }
예제 #5
0
 private void Current_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
 }
예제 #6
0
 private void MainPage_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     widget = null;
     Window.Current.Closed -= MainPage_Closed;
 }
예제 #7
0
 /// <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;
 }
예제 #8
0
 private void SettingsWidgetWindow_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     settingsWidget         = null;
     Window.Current.Closed -= SettingsWidgetWindow_Closed;
 }
예제 #9
0
 private void BrowserWidgetWindow_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     browserWidget          = null;
     Window.Current.Closed -= BrowserWidgetWindow_Closed;
 }
예제 #10
0
 private void CrosshairWindow_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     crosshair              = null;
     Window.Current.Closed -= CrosshairWindow_Closed;
 }
예제 #11
0
 private void Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     sample.EndTest();
 }
예제 #12
0
 private static void Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     UnRegister(sender as Window);
 }
예제 #13
0
 private void Window_Closed(object sender, Windows.UI.Core.CoreWindowEventArgs e)
 {
     UninitializeSDK();
 }