コード例 #1
0
ファイル: MauiWinUIWindow.cs プロジェクト: sung-su/maui
        private void OnClosedPrivate(object sender, UI.Xaml.WindowEventArgs args)
        {
            OnClosed(sender, args);

            if (_windowIcon != IntPtr.Zero)
            {
                DestroyIcon(_windowIcon);
                _windowIcon = IntPtr.Zero;
            }
        }
コード例 #2
0
ファイル: MauiWinUIWindow.cs プロジェクト: sung-su/maui
 protected virtual void OnClosed(object sender, UI.Xaml.WindowEventArgs args)
 {
     MauiWinUIApplication.Current.Services?.InvokeLifecycleEvents <WindowsLifecycle.OnClosed>(del => del(this, args));
 }