From 466ea9a1a522e58dc972ffbba9deba3f615394a2 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sun, 29 Aug 2010 20:41:07 +0000 Subject: WinGui: - Created an error service, renamed the frmExceptionWindow to ExceptionWindow and removed it's duplicate from the main project. It's all in the AppServices library. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3503 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/frmExceptionWindow.Designer.cs | 249 ---------------------------------- 1 file changed, 249 deletions(-) delete mode 100644 win/C#/frmExceptionWindow.Designer.cs (limited to 'win/C#/frmExceptionWindow.Designer.cs') diff --git a/win/C#/frmExceptionWindow.Designer.cs b/win/C#/frmExceptionWindow.Designer.cs deleted file mode 100644 index 6269904fd..000000000 --- a/win/C#/frmExceptionWindow.Designer.cs +++ /dev/null @@ -1,249 +0,0 @@ -namespace Handbrake -{ - partial class frmExceptionWindow - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - this.components = new System.ComponentModel.Container(); - 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.rightClickMenu = new System.Windows.Forms.ContextMenuStrip(this.components); - this.mnu_copy_log = new System.Windows.Forms.ToolStripMenuItem(); - this.panel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit(); - this.panel4.SuspendLayout(); - this.panel6.SuspendLayout(); - this.rightClickMenu.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.Image = global::Handbrake.Properties.Resources.copy; - this.btn_copy.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; - this.btn_copy.Location = new System.Drawing.Point(14, 8); - this.btn_copy.Name = "btn_copy"; - this.btn_copy.Size = new System.Drawing.Size(85, 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.ContextMenuStrip = this.rightClickMenu; - 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 = ""; - // - // rightClickMenu - // - this.rightClickMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.mnu_copy_log}); - this.rightClickMenu.Name = "rightClickMenu"; - this.rightClickMenu.Size = new System.Drawing.Size(153, 48); - // - // mnu_copy_log - // - this.mnu_copy_log.Image = global::Handbrake.Properties.Resources.copy; - this.mnu_copy_log.Name = "mnu_copy_log"; - this.mnu_copy_log.Size = new System.Drawing.Size(152, 22); - this.mnu_copy_log.Text = "Copy"; - this.mnu_copy_log.Click += new System.EventHandler(this.mnu_copy_log_Click); - // - // 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.rightClickMenu.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; - private System.Windows.Forms.ContextMenuStrip rightClickMenu; - private System.Windows.Forms.ToolStripMenuItem mnu_copy_log; - } -} \ No newline at end of file -- cgit v1.2.3