-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml.cpp
More file actions
41 lines (36 loc) · 980 Bytes
/
Copy pathMainWindow.xaml.cpp
File metadata and controls
41 lines (36 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "pch.h"
#include "MainWindow.xaml.h"
#if __has_include("MainWindow.g.cpp")
#include "MainWindow.g.cpp"
#endif
using namespace winrt;
using namespace Microsoft::UI::Xaml;
// To learn more about WinUI, the WinUI project structure,
// and more about our project templates, see: http://aka.ms/winui-project-info.
namespace winrt::TwoWayMode::implementation
{
MainWindow::MainWindow()
{
InitializeComponent();
}
Windows::Foundation::Size MainWindow::MySize()
{
throw hresult_not_implemented();
}
void MainWindow::MySize(Windows::Foundation::Size const& value)
{
throw hresult_not_implemented();
}
Windows::Foundation::Rect MainWindow::MyRect()
{
throw hresult_not_implemented();
}
void MainWindow::MyRect(Windows::Foundation::Rect const& value)
{
throw hresult_not_implemented();
}
void MainWindow::myButton_Click(IInspectable const&, RoutedEventArgs const&)
{
myButton().Content(box_value(L"Clicked"));
}
}