/// <summary> /// Opens the storage UI if closed. Closes it if opened. /// </summary> private void ToggleUI() { if (Window.IsOpen) { Window.Close(); } else { Window.Open(); } }
private void CloseUI() { Window.Close(); }