diff --git a/samples/ComputeSharp.SwapChain.WinUI/App.xaml b/samples/ComputeSharp.SwapChain.WinUI/App.xaml
index 6429e2e4..27b27547 100644
--- a/samples/ComputeSharp.SwapChain.WinUI/App.xaml
+++ b/samples/ComputeSharp.SwapChain.WinUI/App.xaml
@@ -6,6 +6,12 @@
+
+
+
+
+
+
diff --git a/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj b/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj
index f9267f0c..f4dc10e2 100644
--- a/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj
+++ b/samples/ComputeSharp.SwapChain.WinUI/ComputeSharp.SwapChain.WinUI.csproj
@@ -32,8 +32,7 @@
-
-
+
diff --git a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml
index 8d667e66..3fb1bb54 100644
--- a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml
+++ b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml
@@ -217,22 +217,10 @@
-
-
-
diff --git a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs
index e438abc2..4683b3f5 100644
--- a/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs
+++ b/samples/ComputeSharp.SwapChain.WinUI/Views/MainWindow.xaml.cs
@@ -44,10 +44,4 @@ 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();
- }
}