Download samples/winrt_universal/PhoneTutorial/MainPage.xaml.h from tgollogly/test: direct link, hf CLI and curl.
- Browser
- Download file 745 Bytes
-
https://huggingface.co/tgollogly/test/resolve/main/samples/winrt_universal/PhoneTutorial/MainPage.xaml.h
- Command line
-
hf download hf://tgollogly/test/samples/winrt_universal/PhoneTutorial/MainPage.xaml.h
-
curl -L -o MainPage.xaml.h https://huggingface.co/tgollogly/test/resolve/main/samples/winrt_universal/PhoneTutorial/MainPage.xaml.h
745 Bytes
| // | |
| // MainPage.xaml.h | |
| // Declaration of the MainPage class. | |
| // | |
| namespace PhoneTutorial | |
| { | |
| /// <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(); | |
| protected: | |
| virtual void OnNavigatedTo(Windows::UI::Xaml::Navigation::NavigationEventArgs^ e) override; | |
| 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(); | |
| }; | |
| } | |