MainPage.xaml.h 745 B

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