Form1.cs exception handling.