protected void UpdateErrorCount(object sender, EventArgs e) { ErrorDialogMenu.Text = String.Format("&Errors ({0})", Program.ErrorList.Count); }