partial void ShowActivityContainer(IActivityContainer ac) { if (ac is ChildWindowEx) { ChildWindowEx window = ac as ChildWindowEx; window.Show(); } else if (ac is PageEx || ac is UserControlEx) { if (ActivityHostFrame != null) { ActivityHostFrame.Content = ac; } } else { SetRootVisual(ac as Control); } }
protected internal void ShowChildWindow(IActivityContainer ac) { ChildWindowEx window = ac as ChildWindowEx; window.Show(); }