Tue, 12 Nov 2024 14:58:03 +0100
implement ui_dialog_window (WINUI)
// Copyright (c) Microsoft Corporation and Contributors. // Licensed under the MIT License. #pragma once #include "MainWindow.g.h" namespace winrt::winui::implementation { struct MainWindow : MainWindowT<MainWindow> { MainWindow(); int32_t MyProperty(); void MyProperty(int32_t value); void myButton_Click(Windows::Foundation::IInspectable const& sender, Microsoft::UI::Xaml::RoutedEventArgs const& args); }; } namespace winrt::winui::factory_implementation { struct MainWindow : MainWindowT<MainWindow, implementation::MainWindow> { }; }