text/microsoft-resx 2.0 System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 17, 17 Test Procedure - Build WinFormsExitTest with Visual Studio 2026 - Run tests 1 through 4 Test 1 ([works] use Application.Exit with Closing [both main and secondary form]) 1) Run WinFormsExitTest 2) Click on the "Select Test" menu 3) Select "Test1 (Closing, Closing)" 4) Close the Form2 window which contains the text "This Is A Cached Window" 5) Click on the "Test" menu 6) Select "Exit" The application will exit Test 2 ([fails] use Application.Exit with FormClosing [both main and secondary forms]) 1) Run WinFormsExitTest 2) Click on the "Select Test" menu 3) Select "Test4 (FormClosing, FormClosing)" 4) Close the Form2 window which contains the text "This Is A Cached Window" 5) Click on the "Test" menu 6) Select "Exit" The program will NOT exit 7) Click on the program's close button (the "X") The application will exit Test 3 ([works] use Application.Exit with FormClosing [main form] and Closing [secondary form] 1) Run WinFormsExitTest 2) Click on the "Select Test" menu 3) Select "Test3 (FormClosing, Closing)" 4) Close the Form2 window which contains the text "This Is A Cached Window" 5) Click on the "Test" menu 6) Select "Exit" The program will exit Test 4 ([works]) 1) Run WinFormsExitTest 2) Click on the "Select Test" menu 3) Select "Test4 (Form.Close, FormClosing, FormClosing)" 4) Close the Form2 window which contains the text "This Is A Cached Window" 5) Click on the "Test" menu 6) Select "Exit" The application will exit