@ -107,123 +107,130 @@ namespace ICSharpCode.SharpDevelop
Close ( ) ;
Close ( ) ;
}
}
void CloseButtonClick ( object sender , EventArgs e )
{
if ( MessageService . AskQuestion ( "Do you really want to quit SharpDevelop?" ) ) {
Application . Exit ( ) ;
}
}
void InitializeComponent ( ) {
void InitializeComponent ( ) {
this . pictureBox = new System . Windows . Forms . PictureBox ( ) ;
this . pictureBox = new System . Windows . Forms . PictureBox ( ) ;
this . reportButton = new System . Windows . Forms . Button ( ) ;
this . continueButton = new System . Windows . Forms . Button ( ) ;
this . label = new System . Windows . Forms . Label ( ) ;
this . label2 = new System . Windows . Forms . Label ( ) ;
this . label3 = new System . Windows . Forms . Label ( ) ;
//this.includeSysInfoCheckBox = new System.Windows.Forms.CheckBox();
this . copyErrorCheckBox = new System . Windows . Forms . CheckBox ( ) ;
this . exceptionTextBox = new System . Windows . Forms . TextBox ( ) ;
this . SuspendLayout ( ) ;
//
//
// picture Box
// ExceptionBox
//
//
this . pictureBox . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . ClientSize = new System . Drawing . Size ( 6 8 8 , 4 5 3 ) ;
this . pictureBox . Name = "pictureBox" ;
closeButton = new System . Windows . Forms . Button ( ) ;
this . pictureBox . Size = new System . Drawing . Size ( 2 2 4 , 4 6 4 ) ;
this . pictureBox . TabIndex = 0 ;
this . pictureBox . TabStop = false ;
//
//
// report Button
// closeButton
//
//
this . reportButton . FlatStyle = System . Windows . Forms . FlatStyle . System ;
closeButton . Location = new System . Drawing . Point ( 4 5 4 , 4 2 4 ) ;
this . reportButton . Location = new System . Drawing . Point ( 2 3 2 , 4 2 4 ) ;
closeButton . Name = "closeButton" ;
this . reportButton . Name = "reportButton" ;
closeButton . Size = new System . Drawing . Size ( 1 4 0 , 2 3 ) ;
this . reportButton . Size = new System . Drawing . Size ( 2 1 6 , 2 3 ) ;
closeButton . TabIndex = 5 ;
this . reportButton . TabIndex = 4 ;
closeButton . Text = "Exit SharpDevelop" ;
this . reportButton . Text = "Report Error to SharpDevelop Team" ;
closeButton . Click + = new System . EventHandler ( this . CloseButtonClick ) ;
this . reportButton . Click + = new System . EventHandler ( this . buttonClick ) ;
label3 = new System . Windows . Forms . Label ( ) ;
//
//
// continueButton
// label3
//
label3 . Location = new System . Drawing . Point ( 2 3 2 , 1 5 2 ) ;
label3 . Name = "label3" ;
label3 . Size = new System . Drawing . Size ( 4 4 8 , 2 3 ) ;
label3 . TabIndex = 9 ;
label3 . Text = "Thank you for helping make SharpDevelop a better program for everyone!" ;
label2 = new System . Windows . Forms . Label ( ) ;
//
//
this . continueButton . FlatStyle = System . Windows . Forms . FlatStyle . System ;
// label2
this . continueButton . Location = new System . Drawing . Point ( 6 0 0 , 4 2 4 ) ;
//
this . continueButton . Name = "continueButton" ;
label2 . Location = new System . Drawing . Point ( 2 3 2 , 6 4 ) ;
this . continueButton . TabIndex = 5 ;
label2 . Name = "label2" ;
this . continueButton . Text = "Continue" ;
label2 . Size = new System . Drawing . Size ( 4 4 8 , 8 0 ) ;
this . continueButton . Click + = new System . EventHandler ( this . continueButtonClick ) ;
label2 . TabIndex = 8 ;
label2 . Text = "How to report errors efficiently: We have set up a Web-based forum to report and track errors that are reported by users of SharpDevelop. To minimize necessary questions by the team members, in addition to providing the error message that is copied to the clipboard for easier pasting in the error report, we ask that you provide us with an as detailed as possible step-by-step procedure to reproduce this bug." ;
label = new System . Windows . Forms . Label ( ) ;
//
//
// label
// label
//
//
this . label . Location = new System . Drawing . Point ( 2 3 2 , 8 ) ;
label . Location = new System . Drawing . Point ( 2 3 2 , 8 ) ;
this . label . Name = "label" ;
label . Name = "label" ;
this . label . Size = new System . Drawing . Size ( 4 4 8 , 4 8 ) ;
label . Size = new System . Drawing . Size ( 4 4 8 , 4 8 ) ;
this . label . TabIndex = 6 ;
label . TabIndex = 6 ;
this . label . Text = "An unhandled exception has occurred in SharpDevelop. This is unexpected and we\'d " +
label . Text = "An unhandled exception has occurred in SharpDevelop. This is unexpected and we\'d " +
"ask you to help us improve SharpDevelop by reporting this error to the SharpDeve" +
"ask you to help us improve SharpDevelop by reporting this error to the SharpDeve" +
"lop team." ;
"lop team." ;
continueButton = new System . Windows . Forms . Button ( ) ;
//
//
// label2
// continueButton
//
this . label2 . Location = new System . Drawing . Point ( 2 3 2 , 6 4 ) ;
this . label2 . Name = "label2" ;
this . label2 . Size = new System . Drawing . Size ( 4 4 8 , 8 0 ) ;
this . label2 . TabIndex = 8 ;
this . label2 . Text = @"How to report errors efficiently: We have set up a Web-based forum to report and track errors that are reported by users of SharpDevelop. To minimize necessary questions by the team members, in addition to providing the error message that is copied to the clipboard for easier pasting in the error report, we ask that you provide us with an as detailed as possible step-by-step procedure to reproduce this bug. " ;
//
// label3
//
//
this . label3 . Location = new System . Drawing . Point ( 2 3 2 , 1 5 2 ) ;
continueButton . Location = new System . Drawing . Point ( 6 0 0 , 4 2 4 ) ;
this . label3 . Name = "label3" ;
continueButton . Name = "continueButton" ;
this . label3 . Size = new System . Drawing . Size ( 4 4 8 , 2 3 ) ;
continueButton . Size = new System . Drawing . Size ( 7 5 , 2 3 ) ;
this . label3 . TabIndex = 9 ;
continueButton . TabIndex = 6 ;
this . label3 . Text = "Thank you for helping make SharpDevelop a better program for everyone!" ;
continueButton . Text = "Continue" ;
continueButton . Click + = new System . EventHandler ( this . continueButtonClick ) ;
reportButton = new System . Windows . Forms . Button ( ) ;
//
//
// includeSysInfoCheckBox
// reportButton
//
//
/ * this . includeSysInfoCheckBox . Checked = true ;
reportButton . Location = new System . Drawing . Point ( 2 3 2 , 4 2 4 ) ;
this . includeSysInfoCheckBox . CheckState = System . Windows . Forms . CheckState . Checked ;
reportButton . Name = "reportButton" ;
this . includeSysInfoCheckBox . FlatStyle = System . Windows . Forms . FlatStyle . System ;
reportButton . Size = new System . Drawing . Size ( 2 1 6 , 2 3 ) ;
this . includeSysInfoCheckBox . Location = new System . Drawing . Point ( 2 3 2 , 3 9 2 ) ;
reportButton . TabIndex = 4 ;
this . includeSysInfoCheckBox . Name = "includeSysInfoCheckBox" ;
reportButton . Text = "Report Error to SharpDevelop Team" ;
this . includeSysInfoCheckBox . Size = new System . Drawing . Size ( 4 4 0 , 2 4 ) ;
reportButton . Click + = new System . EventHandler ( this . buttonClick ) ;
this . includeSysInfoCheckBox . TabIndex = 3 ;
copyErrorCheckBox = new System . Windows . Forms . CheckBox ( ) ;
this . includeSysInfoCheckBox . Text = "Include system information (version of Windows, .NET framework)" ; * /
//
//
// copyErrorCheckBox
// copyErrorCheckBox
//
//
this . copyErrorCheckBox . Checked = true ;
copyErrorCheckBox . Checked = true ;
this . copyErrorCheckBox . CheckState = System . Windows . Forms . CheckState . Checked ;
copyErrorCheckBox . CheckState = System . Windows . Forms . CheckState . Checked ;
this . copyErrorCheckBox . FlatStyle = System . Windows . Forms . FlatStyle . System ;
copyErrorCheckBox . Location = new System . Drawing . Point ( 2 3 2 , 3 6 8 ) ;
this . copyErrorCheckBox . Location = new System . Drawing . Point ( 2 3 2 , 3 6 8 ) ;
copyErrorCheckBox . Name = "copyErrorCheckBox" ;
this . copyErrorCheckBox . Name = "copyErrorCheckBox" ;
copyErrorCheckBox . Size = new System . Drawing . Size ( 4 4 0 , 2 4 ) ;
this . copyErrorCheckBox . Size = new System . Drawing . Size ( 4 4 0 , 2 4 ) ;
copyErrorCheckBox . TabIndex = 2 ;
this . copyErrorCheckBox . TabIndex = 2 ;
copyErrorCheckBox . Text = "Copy error message to clipboard" ;
this . copyErrorCheckBox . Text = "Copy error message to clipboard" ;
exceptionTextBox = new System . Windows . Forms . TextBox ( ) ;
//
//
// exceptionTextBox
// exceptionTextBox
//
//
this . exceptionTextBox . Location = new System . Drawing . Point ( 2 3 2 , 1 7 6 ) ;
exceptionTextBox . Location = new System . Drawing . Point ( 2 3 2 , 1 7 6 ) ;
this . exceptionTextBox . Multiline = true ;
exceptionTextBox . Multiline = true ;
this . exceptionTextBox . Name = "exceptionTextBox" ;
exceptionTextBox . Name = "exceptionTextBox" ;
this . exceptionTextBox . ReadOnly = true ;
exceptionTextBox . ReadOnly = true ;
this . exceptionTextBox . ScrollBars = System . Windows . Forms . ScrollBars . Vertical ;
exceptionTextBox . ScrollBars = System . Windows . Forms . ScrollBars . Vertical ;
this . exceptionTextBox . Size = new System . Drawing . Size ( 4 4 8 , 1 8 4 ) ;
exceptionTextBox . Size = new System . Drawing . Size ( 4 4 8 , 1 8 4 ) ;
this . exceptionTextBox . TabIndex = 1 ;
exceptionTextBox . TabIndex = 1 ;
this . exceptionTextBox . Text = "textBoxExceptionText" ;
exceptionTextBox . Text = "textBoxExceptionText" ;
pictureBox = new System . Windows . Forms . PictureBox ( ) ;
( ( System . ComponentModel . ISupportInitialize ) ( pictureBox ) ) . BeginInit ( ) ;
//
//
// ExceptionBox
// picture Box
//
//
// this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
pictureBox . Location = new System . Drawing . Point ( 0 , 0 ) ;
this . ClientSize = new System . Drawing . Size ( 6 8 8 , 4 5 3 ) ;
pictureBox . Name = "pictureBox" ;
this . Controls . Add ( this . label3 ) ;
pictureBox . Size = new System . Drawing . Size ( 2 2 4 , 4 6 4 ) ;
this . Controls . Add ( this . label2 ) ;
pictureBox . TabIndex = 0 ;
this . Controls . Add ( this . label ) ;
pictureBox . TabStop = false ;
this . Controls . Add ( this . continueButton ) ;
( ( System . ComponentModel . ISupportInitialize ) ( pictureBox ) ) . EndInit ( ) ;
this . Controls . Add ( this . reportButton ) ;
this . Controls . Add ( closeButton ) ;
//this.Controls.Add(this.includeSysInfoCheckBox);
this . Controls . Add ( label3 ) ;
this . Controls . Add ( this . copyErrorCheckBox ) ;
this . Controls . Add ( label2 ) ;
this . Controls . Add ( this . exceptionTextBox ) ;
this . Controls . Add ( label ) ;
this . Controls . Add ( this . pictureBox ) ;
this . Controls . Add ( continueButton ) ;
this . Controls . Add ( reportButton ) ;
this . Controls . Add ( copyErrorCheckBox ) ;
this . Controls . Add ( exceptionTextBox ) ;
this . Controls . Add ( pictureBox ) ;
this . FormBorderStyle = System . Windows . Forms . FormBorderStyle . FixedDialog ;
this . FormBorderStyle = System . Windows . Forms . FormBorderStyle . FixedDialog ;
this . MaximizeBox = false ;
this . MaximizeBox = false ;
this . MinimizeBox = false ;
this . MinimizeBox = false ;
this . Name = "ExceptionBox" ;
this . Name = "ExceptionBox" ;
this . Text = "Unhandled exception has occured" ;
this . Text = "Unhandled exception has occured" ;
this . SuspendLayout ( ) ;
this . ResumeLayout ( false ) ;
this . ResumeLayout ( false ) ;
this . PerformLayout ( ) ;
}
}
private System . Windows . Forms . Button closeButton ;
}
}
}
}