void OnExpansionWindowVisibilityChanged(ExpansionWindow e) { if (Expanded && e.Visible) { HideExpansionWindow(); e.Show(); } }
void ShowExpansionWindow() { expansionWindow.Show(); expansionWindow.HideAll(); foreach (var box in checkBoxes) { box.Visible = true; } Expanded = true; }