private void btnMore_Click(object sender, RoutedEventArgs e) { NewsMore newsview = new NewsMore(); string titel = "新闻动态"; var host = ProgramManager.ShowProgram(titel, string.Empty, "DD71AE94-F53B-4B5A-AD09-8F3402C9A280", newsview, true, true, null); }
public void ShowNewsInfo(string strNewsID) { NewsMore manager = new NewsMore(strNewsID); if (ViewModel.Context.MainPanel != null) { if (ViewModel.Context.MainPanel.DefaultContent != null) { IWebpart webpart = ViewModel.Context.MainPanel.DefaultContent as IWebpart; if (webpart != null) { webpart.Stop(); } } Stop(); ViewModel.Context.MainPanel.Navigation(manager, "新 闻"); //Cleanup(); } }
private void btnMore_Click(object sender, RoutedEventArgs e) { NewsMore newsview = new NewsMore(); string titel = "新闻动态"; var host = ProgramManager.ShowProgram(titel, string.Empty, "DD71AE94-F53B-4B5A-AD09-8F3402C9A280", newsview, true, true, null); }
public void ShowNewsInfo(string strNewsID) { NewsMore manager = new NewsMore(strNewsID); if (ViewModel.Context.MainPanel != null) { if (ViewModel.Context.MainPanel.DefaultContent != null) { IWebpart webpart = ViewModel.Context.MainPanel.DefaultContent as IWebpart; if (webpart != null) webpart.Stop(); } Stop(); ViewModel.Context.MainPanel.Navigation(manager, "新 闻"); //Cleanup(); } }