12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // MainPage.xaml.h
- // MainPage 类的声明。
- //
- #pragma once
- #include "MainPage.g.h"
- namespace SDLPal
- {
- /// <summary>
- /// 可用于自身或导航至 Frame 内部的空白页。
- /// </summary>
- public ref class MainPage sealed
- {
- public:
- MainPage();
- #if WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP
- void SetPath(Windows::Storage::StorageFolder^ folder);
- void SetFile(Windows::Storage::StorageFile^ file);
- #endif
- protected:
- void LoadControlContents();
- void SaveControlContents();
- private:
- void CloseUICommandHandler(Windows::UI::Popups::IUICommand^ command);
- void btnBrowse_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
- void tsIsDOS_Toggled(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
- void cbBGM_SelectionChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::SelectionChangedEventArgs^ e);
- void btnReset_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
- void btnFinish_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
- void btnBrowseFile_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
- void btnClearFile_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
- };
- }
|