forked from hoshiizumiya/WinUI3CppWinRTSample
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHomePage.xaml.cpp
More file actions
34 lines (29 loc) · 1.04 KB
/
Copy pathHomePage.xaml.cpp
File metadata and controls
34 lines (29 loc) · 1.04 KB
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
#include "pch.h"
#include "HomePage.xaml.h"
#if __has_include("HomePage.g.cpp")
#include "HomePage.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::WinUI3App1C__::implementation
{
HomePage::HomePage()
{
InitializeComponent();
// 在此处添加对界面元素的访问或其他初始化逻辑
// Add access to interface elements or other initialization logic here
}
//
//void HomePage::OnNavigatedTo(winrt::Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e)
//{
// // 在此处添加对界面元素的访问或其他初始化逻辑
// // Add access to interface elements or other initialization logic here
//}
//void OnNavigatedFrom(Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e)
//{
// // 在此处添加对界面元素的访问或其他清理逻辑
// // Add access to interface elements or other cleanup logic here
//}
}