/// <summary> /// closes current standby screen /// </summary> private void closeStandby() { if (standby != null) { standby.Hide(); standby.Close(); standby = null; } }
/// <summary> /// opens a new standby screen /// </summary> private void showStandby() { enableWave(); namesInit(); if (standby == null) { standby = new StandbyWindow(names.ToArray()); } standby.Show(); alignScreens(); }