forked from masterQian/ShowStart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml.h
32 lines (25 loc) · 1.42 KB
/
MainWindow.xaml.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
#pragma once
#include "MainWindow.g.h"
#include <winrt/Windows.Web.Http.h>
using namespace winrt::Microsoft::UI::Xaml;
namespace winrt::ShowStart::implementation {
struct MainWindow : MainWindowT<MainWindow> {
MainWindow();
ShowStart::Info mGlobalInfo;
ShowStart::Info GlobalInfo() { return mGlobalInfo; }
Windows::Web::Http::HttpClient mClient;
Windows::Web::Http::HttpClient Client() { return mClient; }
Windows::Foundation::IAsyncAction ShowTipDialog(hstring);
Windows::Foundation::IAsyncAction UpdateTokenClick(IInspectable const&, RoutedEventArgs const&);
Windows::Foundation::IAsyncAction GetIDClick(IInspectable const&, RoutedEventArgs const&);
Windows::Foundation::IAsyncAction IDCardBindClick(IInspectable const&, RoutedEventArgs const&);
void IDCardBindSelected(IInspectable const&, Controls::SelectionChangedEventArgs const&);
Windows::Foundation::IAsyncAction GetDetailsClick(IInspectable const&, RoutedEventArgs const&);
Windows::Foundation::IAsyncAction BuyClick(IInspectable const&, RoutedEventArgs const&);
void MultiThreadBuyClick(IInspectable const&, RoutedEventArgs const&);
Windows::Foundation::IAsyncAction AboutClick(IInspectable const&, RoutedEventArgs const&);
};
}
namespace winrt::ShowStart::factory_implementation {
struct MainWindow : MainWindowT<MainWindow, implementation::MainWindow> { };
}