Exemplo n.º 1
0
 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);
     }
 }
Exemplo n.º 2
0
        protected internal void ShowChildWindow(IActivityContainer ac)
        {
            ChildWindowEx window = ac as ChildWindowEx;

            window.Show();
        }