• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //
2 // MainPage.xaml.h
3 // Declaration of the MainPage class.
4 //
5 
6 #pragma once
7 
8 #include "MainPage.g.h"
9 
10 namespace PhoneTutorial
11 {
12     /// <summary>
13     /// An empty page that can be used on its own or navigated to within a Frame.
14     /// </summary>
15     public ref class MainPage sealed
16     {
17     public:
18         MainPage();
19 
20     protected:
21         virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
22     private:
23 
24         Windows::UI::Xaml::Media::Imaging::WriteableBitmap^ m_bitmap;
25         void Process_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
26         void Reset_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
27         void LoadImage();
28     };
29 }
30