Exemplo n.º 1
0
        protected virtual void VisibilityChanged()
        {
            if (Visible)
            {
                Owner.BringWindowToTop(this);

                if (windowLayout != null)
                {
                    PrepareFrame(ElapsedTime.Zero, true);
                }
            }
        }
Exemplo n.º 2
0
 protected virtual void VisibilityChanged()
 {
     if (Visible)
     {
         Owner.BringWindowToTop(this);
     }
     else
     {
         Owner.WriteWindowZOrder();
     }
     if (Visible && (WindowLayout != null))
     {
         PrepareFrame(ElapsedTime.Zero, true);
     }
 }