3 // Declaration of the MainPage class.
7 #include "Common\LayoutAwarePage.h"
8 #include "MainPage.g.h"
10 namespace ShootingGame
13 /// An empty page that can be used on its own or navigated to within a Frame.
15 public ref class MainPage sealed
19 Windows::UI::Xaml::Controls::SwapChainBackgroundPanel^ MainPage::SwapChainBackgroundPanel()
21 return DXSwapChainPanel;
23 void UpdateProcessTime(float delta);
24 void UpdateFrameTime(float delta,float max,float min,float avg);
27 virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
29 Windows::UI::Xaml::Controls::Frame^ hiddenFrame_;
30 void Button_Click_1(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);