public void Hide(UIElement button) { Shown = false; icon.Visible = true; window.Visible = false; parent.ReorderIcons(); }