Example #1
0
 private void OnClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     if (m_parent.IsAlive)
     {
         var parent = m_parent.Target as App;
         parent.RemoveSecondaryWindow(this);
     }
 }
Example #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;
 }
Example #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;
            }
        }
Example #4
0
        private async void Current_Closed(object sender, CoreWindowEventArgs e)
        {
            Debug.WriteLine("창이 닫김");

            bool modeSwitched = await ApplicationView.GetForCurrentView().TryEnterViewModeAsync(ApplicationViewMode.Default);
        }
Example #5
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
 }
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.Closed?.Invoke(this, EventArgs.Empty);
 }
Example #7
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Game.SuppressDraw();
     Game.Platform.Exit();
 }
Example #8
0
 void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     windowClosed = true;
 }
Example #9
0
 private void Current_Closed(object sender, CoreWindowEventArgs e) =>
 this.ContentDataContext?.TryDispose();
Example #10
0
 private void Window_Closed(object sender, CoreWindowEventArgs e)
 {
     OnClosed(e);
 }
Example #11
0
 /// <summary>
 //当关闭窗口时
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private async void Current_Closed(object sender, CoreWindowEventArgs e)
 {
     await CheckIfHasDownloadTasks();
 }
Example #12
0
 protected override void OnClosed(CoreWindowEventArgs e)
 {
     base.OnClosed(e);
 }
Example #13
0
        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");
 }
Example #15
0
 protected virtual void OnClosed(CoreWindowEventArgs e)
 {
 }
Example #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();
 }
Example #18
0
 private void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     this.windowClosed = true;
 }
Example #19
0
 private void WindowClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Debug.LogMessage("App.WindowClosed");
 }
Example #20
0
 private void WidgetMainSettingsWindow_Closed(object sender, CoreWindowEventArgs e)
 {
     widgetMainSettings     = null;
     Window.Current.Closed -= WidgetMainSettingsWindow_Closed;
 }
Example #21
0
        private void OnCloseNewWindow(object sender, CoreWindowEventArgs e)
        {
            var viewId = ApplicationView.GetForCurrentView().Id;

            windows.Remove(viewId);
        }
Example #22
0
 private void OnFrendsListWidgetClosed(object sender, CoreWindowEventArgs e)
 {
     Window.Current.Closed -= OnFrendsListWidgetClosed;
     _friendsListWidget     = null;
 }
Example #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();
 }
Example #25
0
 private void OnClosed(object sender, CoreWindowEventArgs e)
 {
     Closed?.Invoke(this, EventArgs.Empty);
 }
Example #26
0
 void IWindowEventSink.OnClosed(object sender, CoreWindowEventArgs e)
 {
 }
Example #27
0
 private void OnCoreWindowClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Closing?.Invoke();
     Closed?.Invoke();
 }
Example #28
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.WindowClosed = true;
 }
Example #29
0
 private void Current_Closed(object sender, CoreWindowEventArgs e)
 {
     e.Handled = false;
 }