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