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

            bool modeSwitched = await ApplicationView.GetForCurrentView().TryEnterViewModeAsync(ApplicationViewMode.Default);
        }
コード例 #5
0
ファイル: WPGameWindow.cs プロジェクト: zielakbn/MonoGame
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
 }
コード例 #6
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.Closed?.Invoke(this, EventArgs.Empty);
 }
コード例 #7
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Game.SuppressDraw();
     Game.Platform.Exit();
 }
コード例 #8
0
ファイル: UrhoAppView.cs プロジェクト: florin-chelaru/urho
 void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     windowClosed = true;
 }
コード例 #9
0
 private void Current_Closed(object sender, CoreWindowEventArgs e) =>
 this.ContentDataContext?.TryDispose();
コード例 #10
0
 private void Window_Closed(object sender, CoreWindowEventArgs e)
 {
     OnClosed(e);
 }
コード例 #11
0
 /// <summary>
 //当关闭窗口时
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private async void Current_Closed(object sender, CoreWindowEventArgs e)
 {
     await CheckIfHasDownloadTasks();
 }
コード例 #12
0
 protected override void OnClosed(CoreWindowEventArgs e)
 {
     base.OnClosed(e);
 }
コード例 #13
0
        private void Current_Closed(object sender, CoreWindowEventArgs e)
        {
            var id = ApplicationView.GetForCurrentView().Id;

            _IDToView.Remove(id);
        }
コード例 #14
0
 private void CoreWindow_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Debug.WriteLine($"{ApplicationView.GetForCurrentView().Id} was closed");
 }
コード例 #15
0
 protected virtual void OnClosed(CoreWindowEventArgs e)
 {
 }
コード例 #16
0
 private static void Window_Closed(object sender, CoreWindowEventArgs e)
 {
     UnRegister(sender as Window);
 }
コード例 #17
0
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Game.Exit();
 }
コード例 #18
0
 private void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     this.windowClosed = true;
 }
コード例 #19
0
ファイル: CoreApp.cs プロジェクト: Gavin-Williams/Templates
 private void WindowClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Debug.LogMessage("App.WindowClosed");
 }
コード例 #20
0
 private void WidgetMainSettingsWindow_Closed(object sender, CoreWindowEventArgs e)
 {
     widgetMainSettings     = null;
     Window.Current.Closed -= WidgetMainSettingsWindow_Closed;
 }
コード例 #21
0
        private void OnCloseNewWindow(object sender, CoreWindowEventArgs e)
        {
            var viewId = ApplicationView.GetForCurrentView().Id;

            windows.Remove(viewId);
        }
コード例 #22
0
ファイル: App.xaml.cs プロジェクト: WamWooWam/Unicord
 private void OnFrendsListWidgetClosed(object sender, CoreWindowEventArgs e)
 {
     Window.Current.Closed -= OnFrendsListWidgetClosed;
     _friendsListWidget     = null;
 }
コード例 #23
0
ファイル: AppView.cs プロジェクト: iAmeng/VR-for-VLC
 private void OnWindowClosed(CoreWindow sender, CoreWindowEventArgs arg)
 {
     Debug.WriteLine("VRPlayer.AppView.OnWindowClosed");
     windowClosed = true;
 }
コード例 #24
0
 private void OnClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.bindingConnector.Dispose();
 }
コード例 #25
0
 private void OnClosed(object sender, CoreWindowEventArgs e)
 {
     Closed?.Invoke(this, EventArgs.Empty);
 }
コード例 #26
0
 void IWindowEventSink.OnClosed(object sender, CoreWindowEventArgs e)
 {
 }
コード例 #27
0
ファイル: UwpWindow.cs プロジェクト: GavinHwa/veldrid
 private void OnCoreWindowClosed(CoreWindow sender, CoreWindowEventArgs args)
 {
     Closing?.Invoke();
     Closed?.Invoke();
 }
コード例 #28
0
ファイル: App.cs プロジェクト: MohammadMDSA/WarUp
 private void Window_Closed(CoreWindow sender, CoreWindowEventArgs args)
 {
     this.WindowClosed = true;
 }
コード例 #29
0
ファイル: MainPage.xaml.cs プロジェクト: progiter/fuelGR
 private void Current_Closed(object sender, CoreWindowEventArgs e)
 {
     e.Handled = false;
 }