public static FileManagerVideoPage CreateInstance() { if (m_instance == null) { m_instance = new FileManagerVideoPage(); } return m_instance; }
private void NaviToVideoView(object sender, EventArgs e) { // 更改top图标与相关内容 BitmapImage image = new BitmapImage(new Uri("../Image/icon_iOS_Ads_Remover.png", UriKind.Relative)); m_iconImg.Source = image; m_tbFileName.Text = "Video"; if (m_filesManagerVideoPage == null) { m_filesManagerVideoPage = FileManagerVideoPage.CreateInstance(); } m_mainWidget.Navigate(m_filesManagerVideoPage); m_naviWidget = NaviWidget.FileManagerContactPage; BackBtn.Visibility = System.Windows.Visibility.Visible; }