RadioDld.ReportError.ReportError_Load C# (CSharp) Method

ReportError_Load() private method

private ReportError_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void ReportError_Load(object sender, EventArgs e)
        {
            try
            {
                this.Font = SystemFonts.MessageBoxFont;
                this.ImageIcon.Image = SystemIcons.Error.ToBitmap();
            }
            catch
            {
                // Just show the dialog with the default font & without an icon
            }
        }