MainPage.xaml.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. //
  2. // MainPage.xaml.h
  3. // MainPage 类的声明。
  4. //
  5. #pragma once
  6. #include "MainPage.g.h"
  7. namespace SDLPal
  8. {
  9. /// <summary>
  10. /// 可用于自身或导航至 Frame 内部的空白页。
  11. /// </summary>
  12. public ref class MainPage sealed
  13. {
  14. public:
  15. MainPage();
  16. void SetPath(Windows::Storage::StorageFolder^ folder);
  17. void SetFile(Windows::Storage::StorageFile^ file);
  18. protected:
  19. void LoadControlContents();
  20. void SaveControlContents();
  21. private:
  22. Windows::ApplicationModel::Resources::ResourceLoader^ m_resLdr;
  23. void btnBrowse_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
  24. void cbBGM_SelectionChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::SelectionChangedEventArgs^ e);
  25. void btnReset_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
  26. void btnFinish_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
  27. void btnBrowseFile_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
  28. void btnClearFile_Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
  29. void Page_Loaded(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
  30. };
  31. }