public wndMathMenu() { InitializeComponent(); //MAKE SURE TO INCLUDE THIS LINE OR THE APPLICATION WILL NOT CLOSE //BECAUSE THE WINDOWS ARE STILL IN MEMORY Application.Current.ShutdownMode = ShutdownMode.OnMainWindowClose;/////////////////////////////////////////////////////////// wndHighScoresForm = new wndHighScores(); wndEnterUserDataForm = new wndEnterUserData(); wndGameForm = new wndGame(); //Pass the high scores form to the game form. This way the high scores form may be displayed via the game form. wndGameForm.CopyHighScores = wndHighScoresForm; }