C# Class NanoByte.Common.Controls.ErrorReportForm

ファイルを表示 Open project: nano-byte/common Class Usage Examples

Public Methods

Method Description
Report ( Exception ex, Uri uploadUri ) : void

Displays the error reporting form.

Modal to all windows on the current thread. Creates a new message loop if none exists.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
ErrorReportForm ( Exception exception, Uri uploadUri ) : System

Prepares reporting an error.

GenerateReportFile ( ) : string

Generates a ZIP archive containing crash information.

HideForms ( ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

OnUploadFileCompleted ( object uploadSender, UploadFileCompletedEventArgs uploadEventArgs ) : void
SetupMonitoring ( Uri uploadUri ) : void
buttonCancel_Click ( object sender, EventArgs e ) : void
buttonReport_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Report() public static method

Displays the error reporting form.
Modal to all windows on the current thread. Creates a new message loop if none exists.
public static Report ( Exception ex, Uri uploadUri ) : void
ex Exception The exception to report.
uploadUri Uri The URI to upload error reports to.
return void