-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainPage.xaml.cpp
32 lines (25 loc) · 933 Bytes
/
MainPage.xaml.cpp
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
//
// MainPage.xaml.cpp
// Implementation of the MainPage class.
//
#include "pch.h"
#include "MainPage.xaml.h"
#include "GamePage.xaml.h"
using namespace ThatNumbersGame;
using namespace Platform;
using namespace Windows::Foundation;
using namespace Windows::Foundation::Collections;
using namespace Windows::UI::Xaml;
using namespace Windows::UI::Xaml::Controls;
using namespace Windows::UI::Xaml::Controls::Primitives;
using namespace Windows::UI::Xaml::Data;
using namespace Windows::UI::Xaml::Input;
using namespace Windows::UI::Xaml::Media;
using namespace Windows::UI::Xaml::Navigation;
// The Blank Page item template is documented at http://go.microsoft.com/fwlink/?LinkId=402352&clcid=0x409
MainPage::MainPage() {
InitializeComponent();
}
void ThatNumbersGame::MainPage::btnNewGame_onClick(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e) {
Frame->Navigate(ThatNumbersGame::GamePage::typeid);
}