Mon, 16 Jun 2025 21:41:55 +0200
use uic_object_new_toplevel to create toplevel objects
// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License. #pragma once #include "App.xaml.g.h" namespace winrt::winui::implementation { struct App : AppT<App> { App(); void OnLaunched(Microsoft::UI::Xaml::LaunchActivatedEventArgs const&); private: winrt::Microsoft::UI::Xaml::Window window{ nullptr }; }; }