/// <summary> /// This is called when exiting the game. /// </summary> /// <param name="sender"></param> /// <param name="args"></param> protected override void OnExiting(object sender, EventArgs args) { mMenuScr.Dispose(); }