UNIXworkcode

1 // Copyright (c) Microsoft Corporation and Contributors. 2 // Licensed under the MIT License. 3 4 #pragma once 5 6 #include "MainWindow.g.h" 7 8 namespace winrt::winui::implementation 9 { 10 struct MainWindow : MainWindowT<MainWindow> 11 { 12 MainWindow(); 13 14 int32_t MyProperty(); 15 void MyProperty(int32_t value); 16 17 void myButton_Click(Windows::Foundation::IInspectable const& sender, Microsoft::UI::Xaml::RoutedEventArgs const& args); 18 }; 19 } 20 21 namespace winrt::winui::factory_implementation 22 { 23 struct MainWindow : MainWindowT<MainWindow, implementation::MainWindow> 24 { 25 }; 26 } 27