Esempio n. 1
0
 private void OnClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     if (m_parent.IsAlive)
     {
         var parent = m_parent.Target as App;
         parent.RemoveSecondaryWindow(this);
     }
 }
Esempio n. 2
0
 private void LogView_Closed(object sender, CoreWindowEventArgs e)
 {
     Window.Current.Closed -= LogView_Closed;
     _logView                = null;
     _logViewFrame           = null;
     ViewModel.DataReceived -= ViewModel_DataReceived;
     ViewLogButton.IsChecked = false;
 }
Esempio n. 3
0
        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;
            }
        }
Esempio n. 4
0
        private async void Current_Closed(object sender, CoreWindowEventArgs e)
        {
            Debug.WriteLine("창이 닫김");

            bool modeSwitched = await ApplicationView.GetForCurrentView().TryEnterViewModeAsync(ApplicationViewMode.Default);
        }
Esempio n. 5
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
 }
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.Closed?.Invoke(this, EventArgs.Empty);
 }
Esempio n. 7
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Game.SuppressDraw();
     Game.Platform.Exit();
 }
Esempio n. 8
0
 void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     windowClosed = true;
 }
Esempio n. 9
0
 private void Current_Closed(object sender, CoreWindowEventArgs e) =>
 this.ContentDataContext?.TryDispose();
Esempio n. 10
0
 private void Window_Closed(object sender, CoreWindowEventArgs e)
 {
     OnClosed(e);
 }
Esempio n. 11
0
 /// <summary>
 //当关闭窗口时
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private async void Current_Closed(object sender, CoreWindowEventArgs e)
 {
     await CheckIfHasDownloadTasks();
 }
Esempio n. 12
0
 protected override void OnClosed(CoreWindowEventArgs e)
 {
     base.OnClosed(e);
 }
Esempio n. 13
0
        private void Current_Closed(object sender, CoreWindowEventArgs e)
        {
            var id = ApplicationView.GetForCurrentView().Id;

            _IDToView.Remove(id);
        }
Esempio n. 14
0
 private void CoreWindow_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Debug.WriteLine($"{ApplicationView.GetForCurrentView().Id} was closed");
 }
Esempio n. 15
0
 protected virtual void OnClosed(CoreWindowEventArgs e)
 {
 }
Esempio n. 16
0
 private static void Window_Closed(object sender, CoreWindowEventArgs e)
 {
     UnRegister(sender as Window);
 }
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Game.Exit();
 }
Esempio n. 18
0
 private void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     this.windowClosed = true;
 }
Esempio n. 19
0
 private void WindowClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Debug.LogMessage("App.WindowClosed");
 }
Esempio n. 20
0
 private void WidgetMainSettingsWindow_Closed(object sender, CoreWindowEventArgs e)
 {
     widgetMainSettings     = null;
     Window.Current.Closed -= WidgetMainSettingsWindow_Closed;
 }
Esempio n. 21
0
        private void OnCloseNewWindow(object sender, CoreWindowEventArgs e)
        {
            var viewId = ApplicationView.GetForCurrentView().Id;

            windows.Remove(viewId);
        }
Esempio n. 22
0
 private void OnFrendsListWidgetClosed(object sender, CoreWindowEventArgs e)
 {
     Window.Current.Closed -= OnFrendsListWidgetClosed;
     _friendsListWidget     = null;
 }
Esempio n. 23
0
 private void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     Debug.WriteLine("VRPlayer.AppView.OnWindowClosed");
     windowClosed = true;
 }
 private void OnClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.bindingConnector.Dispose();
 }
Esempio n. 25
0
 private void OnClosed(object sender, CoreWindowEventArgs e)
 {
     Closed?.Invoke(this, EventArgs.Empty);
 }
Esempio n. 26
0
 void IWindowEventSink.OnClosed(object sender, CoreWindowEventArgs e)
 {
 }
Esempio n. 27
0
 private void OnCoreWindowClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Closing?.Invoke();
     Closed?.Invoke();
 }
Esempio n. 28
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.WindowClosed = true;
 }
Esempio n. 29
0
 private void Current_Closed(object sender, CoreWindowEventArgs e)
 {
     e.Handled = false;
 }