ui/winui/MainWindow.xaml.cpp

changeset 431
bb7da585debc
parent 211
5d71a36b833b
equal deleted inserted replaced
169:fe49cff3c571 431:bb7da585debc
1 // Copyright (c) Microsoft Corporation and Contributors.
2 // Licensed under the MIT License.
3
4 #include "pch.h"
5 #include "MainWindow.xaml.h"
6 #if __has_include("MainWindow.g.cpp")
7 #include "MainWindow.g.cpp"
8 #endif
9
10 using namespace winrt;
11 using namespace Microsoft::UI::Xaml;
12
13 // To learn more about WinUI, the WinUI project structure,
14 // and more about our project templates, see: http://aka.ms/winui-project-info.
15
16 namespace winrt::winui::implementation
17 {
18 MainWindow::MainWindow()
19 {
20 InitializeComponent();
21 //ExtendsContentIntoTitleBar(true);
22 //SetTitleBar(AppTitleBar());
23 }
24
25 int32_t MainWindow::MyProperty()
26 {
27 throw hresult_not_implemented();
28 }
29
30 void MainWindow::MyProperty(int32_t /* value */)
31 {
32 throw hresult_not_implemented();
33 }
34
35 void MainWindow::myButton_Click(IInspectable const&, RoutedEventArgs const&)
36 {
37
38 }
39 }

mercurial