/
Scenario2.h
35 lines (30 loc) · 1.05 KB
/
Scenario2.h
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
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
#pragma once
#include "Scenario2.g.h"
#include "MainPage.h"
namespace winrt::SDKTemplate::implementation
{
struct Scenario2 : Scenario2T<Scenario2>
{
Scenario2();
void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs const& e);
fire_and_forget GetThumbnailButton_Click(Windows::Foundation::IInspectable const& sender, Windows::UI::Xaml::RoutedEventArgs const& e);
private:
SDKTemplate::MainPage rootPage{ MainPage::Current() };
};
}
namespace winrt::SDKTemplate::factory_implementation
{
struct Scenario2 : Scenario2T<Scenario2, implementation::Scenario2>
{
};
}