diff options
author | sr55 <[email protected]> | 2010-05-18 16:23:25 +0000 |
---|---|---|
committer | sr55 <[email protected]> | 2010-05-18 16:23:25 +0000 |
commit | 9d86956c37eb3ae8bdb02275aac9e2db8cee187b (patch) | |
tree | ce85ae1c15f2a9ede0321c7fba73492b1b0847a8 /win/C#/frmExceptionWindow.Designer.cs | |
parent | 8ce6a2514aa10e3ad28c34b8933238001b15c7d4 (diff) |
WinGui:
- Added an exception window which allows the exceptions to be copied by the user rather than using a message box. (Long overdue). Moved some of the most common exceptions over to using it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3301 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmExceptionWindow.Designer.cs')
-rw-r--r-- | win/C#/frmExceptionWindow.Designer.cs | 224 |
1 files changed, 224 insertions, 0 deletions
diff --git a/win/C#/frmExceptionWindow.Designer.cs b/win/C#/frmExceptionWindow.Designer.cs new file mode 100644 index 000000000..c856f9a09 --- /dev/null +++ b/win/C#/frmExceptionWindow.Designer.cs @@ -0,0 +1,224 @@ +namespace Handbrake
+{
+ partial class frmExceptionWindow
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmExceptionWindow));
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.PictureBox1 = new System.Windows.Forms.PictureBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.lbl_shortError = new System.Windows.Forms.Label();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.panel6 = new System.Windows.Forms.Panel();
+ this.btn_close = new System.Windows.Forms.Button();
+ this.btn_copy = new System.Windows.Forms.Button();
+ this.rtf_exceptionFull = new System.Windows.Forms.RichTextBox();
+ this.panel1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
+ this.panel4.SuspendLayout();
+ this.panel6.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.White;
+ this.panel1.Controls.Add(this.panel2);
+ this.panel1.Controls.Add(this.PictureBox1);
+ this.panel1.Controls.Add(this.label3);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Controls.Add(this.lbl_shortError);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(669, 97);
+ this.panel1.TabIndex = 61;
+ //
+ // panel2
+ //
+ this.panel2.BackColor = System.Drawing.SystemColors.Control;
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.panel2.Location = new System.Drawing.Point(0, 87);
+ this.panel2.MaximumSize = new System.Drawing.Size(0, 10);
+ this.panel2.MinimumSize = new System.Drawing.Size(0, 10);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(669, 10);
+ this.panel2.TabIndex = 59;
+ //
+ // PictureBox1
+ //
+ this.PictureBox1.Image = global::Handbrake.Properties.Resources.ErrorX;
+ this.PictureBox1.InitialImage = null;
+ this.PictureBox1.Location = new System.Drawing.Point(12, 12);
+ this.PictureBox1.Name = "PictureBox1";
+ this.PictureBox1.Size = new System.Drawing.Size(64, 64);
+ this.PictureBox1.TabIndex = 24;
+ this.PictureBox1.TabStop = false;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.Location = new System.Drawing.Point(84, 63);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(80, 13);
+ this.label3.TabIndex = 57;
+ this.label3.Text = "Error Details:";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label1.Location = new System.Drawing.Point(84, 12);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(150, 16);
+ this.label1.TabIndex = 25;
+ this.label1.Text = "An Error has occured.";
+ //
+ // lbl_shortError
+ //
+ this.lbl_shortError.Location = new System.Drawing.Point(84, 33);
+ this.lbl_shortError.Name = "lbl_shortError";
+ this.lbl_shortError.Size = new System.Drawing.Size(573, 30);
+ this.lbl_shortError.TabIndex = 58;
+ this.lbl_shortError.Text = "An Unknown Error has occured.";
+ //
+ // panel3
+ //
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel3.Location = new System.Drawing.Point(0, 97);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(76, 216);
+ this.panel3.TabIndex = 68;
+ //
+ // panel5
+ //
+ this.panel5.Dock = System.Windows.Forms.DockStyle.Right;
+ this.panel5.Location = new System.Drawing.Point(640, 97);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(29, 216);
+ this.panel5.TabIndex = 69;
+ //
+ // panel4
+ //
+ this.panel4.Controls.Add(this.panel6);
+ this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.panel4.Location = new System.Drawing.Point(0, 313);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(669, 42);
+ this.panel4.TabIndex = 69;
+ //
+ // panel6
+ //
+ this.panel6.Controls.Add(this.btn_close);
+ this.panel6.Controls.Add(this.btn_copy);
+ this.panel6.Dock = System.Windows.Forms.DockStyle.Right;
+ this.panel6.Location = new System.Drawing.Point(491, 0);
+ this.panel6.Name = "panel6";
+ this.panel6.Size = new System.Drawing.Size(178, 42);
+ this.panel6.TabIndex = 58;
+ //
+ // btn_close
+ //
+ this.btn_close.BackColor = System.Drawing.Color.Transparent;
+ this.btn_close.FlatAppearance.BorderColor = System.Drawing.Color.Black;
+ this.btn_close.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_close.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
+ this.btn_close.Location = new System.Drawing.Point(105, 8);
+ this.btn_close.Name = "btn_close";
+ this.btn_close.Size = new System.Drawing.Size(70, 25);
+ this.btn_close.TabIndex = 56;
+ this.btn_close.Text = "OK";
+ this.btn_close.UseVisualStyleBackColor = false;
+ this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
+ //
+ // btn_copy
+ //
+ this.btn_copy.BackColor = System.Drawing.Color.Transparent;
+ this.btn_copy.FlatAppearance.BorderColor = System.Drawing.Color.Black;
+ this.btn_copy.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_copy.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
+ this.btn_copy.Location = new System.Drawing.Point(29, 8);
+ this.btn_copy.Name = "btn_copy";
+ this.btn_copy.Size = new System.Drawing.Size(70, 25);
+ this.btn_copy.TabIndex = 57;
+ this.btn_copy.Text = "Copy";
+ this.btn_copy.UseVisualStyleBackColor = false;
+ this.btn_copy.Click += new System.EventHandler(this.btn_copy_Click);
+ //
+ // rtf_exceptionFull
+ //
+ this.rtf_exceptionFull.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.rtf_exceptionFull.Location = new System.Drawing.Point(76, 97);
+ this.rtf_exceptionFull.Name = "rtf_exceptionFull";
+ this.rtf_exceptionFull.Size = new System.Drawing.Size(564, 216);
+ this.rtf_exceptionFull.TabIndex = 70;
+ this.rtf_exceptionFull.Text = "";
+ //
+ // frmExceptionWindow
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(669, 355);
+ this.Controls.Add(this.rtf_exceptionFull);
+ this.Controls.Add(this.panel3);
+ this.Controls.Add(this.panel5);
+ this.Controls.Add(this.panel4);
+ this.Controls.Add(this.panel1);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "frmExceptionWindow";
+ this.Text = "Error";
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
+ this.panel4.ResumeLayout(false);
+ this.panel6.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ internal System.Windows.Forms.PictureBox PictureBox1;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.Label lbl_shortError;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel5;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.RichTextBox rtf_exceptionFull;
+ internal System.Windows.Forms.Button btn_close;
+ private System.Windows.Forms.Panel panel6;
+ internal System.Windows.Forms.Button btn_copy;
+ }
+}
\ No newline at end of file |