private void SecondWindow() { if (showWindow != null) { showWindow.Close(); } showWindow = new ShowWindow { Owner = this }; showWindow.Show(); showWindow.UpdateColor(); showWindow.UpdateScore(); showWindow.UpdateTimer(); }