public virtual void onPop(object sender, EventArgs e) { if (Content != null) { Content.Visible = true; if (Content.Parent == null) { IFace.AddWidget(Content); } if (Content.LogicalParent != this) { Content.LogicalParent = this; } IFace.PutOnTop(Content, true); _content_LayoutChanged(this, new LayoutingEventArgs(LayoutingType.Sizing)); } Popped.Raise(this, e); }