protected override void SetView() { base.SetView(); CurrentView = new UCAgentMaintenance(); CurrentView.PageName = "UCAgentMaintenance"; }
void Shell_Loaded(object sender, RoutedEventArgs e) { UCAgentMaintenance view = new UCAgentMaintenance(); view.CurrentApp = App.CurrentApp; BorderContent.Child = view; }
public void DoingMainSendMessage(string AStrData) { try { IChangeLanguageEvent = null; App.LoadAboutAgentData(); GridDynamicObject.Children.Clear(); UCAgentMaintenance LUCAgent = new UCAgentMaintenance(); LUCAgent.IPageParent = this; LUCAgent.ShowControlOrgAgent(); GridDynamicObject.Children.Add(LUCAgent); GridDynamicObject.BringIntoView(); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }