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

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

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