Přidání nového projektu - pokus o explorer

This commit is contained in:
Matěj Kubíček committed 2026-10-13 20:13:07 +02:00
1 parent b0b0b3ee34
commit d06a9f332b
48 files changed
+1429

No files matched your search

@@ -0,0 +1,23 @@
using Microsoft.UI.Xaml;
using TitleBar = Microsoft.UI.Xaml.Controls.TitleBar;
namespace winui_learning_3;
public sealed partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
ExtendsContentIntoTitleBar = true;
SetTitleBar(AppTitleBar);
}
private void AppTitleBar_BackRequested(TitleBar titleBar, object args)
{
if (rootFrame.CanGoBack)
{
rootFrame.GoBack();
}
}
}