2015-02-18 23:23:41 +08:00
|
|
|
|
//
|
|
|
|
|
// MainPage.xaml.h
|
|
|
|
|
// Declaration of the MainPage class.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "MainPage.g.h"
|
|
|
|
|
|
|
|
|
|
namespace PhoneTutorial
|
|
|
|
|
{
|
2015-02-21 00:49:10 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// An empty page that can be used on its own or navigated to within a Frame.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ref class MainPage sealed
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MainPage();
|
2015-02-18 23:23:41 +08:00
|
|
|
|
|
2015-02-21 00:49:10 +08:00
|
|
|
|
protected:
|
|
|
|
|
virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override;
|
2015-02-18 23:23:41 +08:00
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
Windows::UI::Xaml::Media::Imaging::WriteableBitmap^ m_bitmap;
|
|
|
|
|
void Process_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
|
|
|
|
|
void Reset_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
|
|
|
|
|
void LoadImage();
|
|
|
|
|
};
|
|
|
|
|
}
|