public override void ClearBinding() { //ensure popped window is cleared if (Content != null) { if (Content.Parent != null) { CurrentInterface.DeleteWidget(Content); } } base.ClearBinding(); }
protected void close() { Closing.Raise(this, null); CurrentInterface.DeleteWidget(this); }