Slight optimization of Form1.cs