Add window close button to WinUI 3 sample

このコミットが含まれているのは:
Sergio Pedri committed 2021-11-21 19:19:48 +01:00
1 親 8bd69672a9
コミット 7b070bc87f
2ファイル変更
+18

検索条件に一致するファイルはありません

+6
ファイルの表示
@@ -35,4 +35,10 @@ public sealed partial class MainWindow : Window
{
ShadersListContainerPanel.Height = Math.Round(e.Size.Height * 0.35);
}
// Closes the app
private void CloseButton_Click(object sender, RoutedEventArgs e)
{
Application.Current.Exit();
}
}