MainForm.cs: do not pass null to event arguments