210:83556205edad | 211:5d71a36b833b |
---|---|
16 namespace winrt::winui::implementation | 16 namespace winrt::winui::implementation |
17 { | 17 { |
18 MainWindow::MainWindow() | 18 MainWindow::MainWindow() |
19 { | 19 { |
20 InitializeComponent(); | 20 InitializeComponent(); |
21 //ExtendsContentIntoTitleBar(true); | |
22 //SetTitleBar(AppTitleBar()); | |
21 } | 23 } |
22 | 24 |
23 int32_t MainWindow::MyProperty() | 25 int32_t MainWindow::MyProperty() |
24 { | 26 { |
25 throw hresult_not_implemented(); | 27 throw hresult_not_implemented(); |
30 throw hresult_not_implemented(); | 32 throw hresult_not_implemented(); |
31 } | 33 } |
32 | 34 |
33 void MainWindow::myButton_Click(IInspectable const&, RoutedEventArgs const&) | 35 void MainWindow::myButton_Click(IInspectable const&, RoutedEventArgs const&) |
34 { | 36 { |
35 myButton().Content(box_value(L"Clicked")); | 37 |
36 } | 38 } |
37 } | 39 } |