summaryrefslogtreecommitdiffstats
path: root/win/C#/frmDownload.Designer.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2009-07-15 11:03:54 +0000
committersr55 <[email protected]>2009-07-15 11:03:54 +0000
commit742df70f4ae59aba07e2b094c2f9f4a9efc01a7c (patch)
tree64df63f584693271f82b4370086ff206efe7bd5d /win/C#/frmDownload.Designer.cs
parentf5108ef3ae828197e68cb2f03f37ef90679f02c5 (diff)
WinGui:
- The options panel (frmOptions) is now completely wrapped in TableLayoutPanels. - The rest of the GUI has been changed to Tahoma, 8pt font. - QueueHandler and it's related classes have been refactored and documented. - new option has been added that prompts the user before encoding when the query under the "Query Editor" tab does not match the GUI settings. It can be disabled in the options window. - A bug where "last_encode_log.txt" failed to be read has been fixed that was caused by exiting the CLI window shortly after starting the encode. Thansk to darkassassin git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2693 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmDownload.Designer.cs')
-rw-r--r--win/C#/frmDownload.Designer.cs90
1 files changed, 60 insertions, 30 deletions
diff --git a/win/C#/frmDownload.Designer.cs b/win/C#/frmDownload.Designer.cs
index 5d0f4523c..f98797950 100644
--- a/win/C#/frmDownload.Designer.cs
+++ b/win/C#/frmDownload.Designer.cs
@@ -37,70 +37,99 @@ namespace Handbrake
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDownload));
this.lblProgress = new System.Windows.Forms.Label();
this.progress_download = new System.Windows.Forms.ProgressBar();
- this.PictureBox1 = new System.Windows.Forms.PictureBox();
this.btn_cancel = new System.Windows.Forms.Button();
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
+ this.PictureBox1 = new System.Windows.Forms.PictureBox();
+ this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();
this.SuspendLayout();
//
// lblProgress
//
this.lblProgress.AutoSize = true;
- this.lblProgress.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.lblProgress.Location = new System.Drawing.Point(93, 38);
+ this.lblProgress.Location = new System.Drawing.Point(73, 29);
this.lblProgress.Name = "lblProgress";
- this.lblProgress.Size = new System.Drawing.Size(115, 13);
+ this.lblProgress.Size = new System.Drawing.Size(98, 13);
this.lblProgress.TabIndex = 10;
this.lblProgress.Text = "Awaiting Download";
//
// progress_download
//
- this.progress_download.Location = new System.Drawing.Point(93, 12);
+ this.progress_download.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
+ this.progress_download.Location = new System.Drawing.Point(73, 3);
this.progress_download.Name = "progress_download";
- this.progress_download.Size = new System.Drawing.Size(318, 23);
+ this.progress_download.Size = new System.Drawing.Size(273, 23);
this.progress_download.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
this.progress_download.TabIndex = 9;
//
- // PictureBox1
- //
- this.PictureBox1.Image = global::Handbrake.Properties.Resources.logo64;
- this.PictureBox1.InitialImage = null;
- this.PictureBox1.Location = new System.Drawing.Point(12, 12);
- this.PictureBox1.Name = "PictureBox1";
- this.PictureBox1.Size = new System.Drawing.Size(75, 64);
- this.PictureBox1.TabIndex = 25;
- this.PictureBox1.TabStop = false;
- //
// btn_cancel
//
+ this.btn_cancel.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.btn_cancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;
- this.btn_cancel.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_cancel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_cancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_cancel.Location = new System.Drawing.Point(321, 54);
+ this.btn_cancel.Location = new System.Drawing.Point(275, 45);
this.btn_cancel.Name = "btn_cancel";
- this.btn_cancel.Size = new System.Drawing.Size(90, 22);
- this.btn_cancel.TabIndex = 56;
+ this.btn_cancel.Size = new System.Drawing.Size(71, 22);
+ this.btn_cancel.TabIndex = 26;
+ this.btn_cancel.TabStop = false;
this.btn_cancel.Text = "Cancel";
- this.btn_cancel.UseVisualStyleBackColor = false;
+ this.btn_cancel.UseVisualStyleBackColor = true;
this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);
//
+ // tableLayoutPanel1
+ //
+ this.tableLayoutPanel1.ColumnCount = 2;
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
+ this.tableLayoutPanel1.Controls.Add(this.PictureBox1, 0, 0);
+ this.tableLayoutPanel1.Controls.Add(this.btn_cancel, 1, 2);
+ this.tableLayoutPanel1.Controls.Add(this.progress_download, 1, 0);
+ this.tableLayoutPanel1.Controls.Add(this.lblProgress, 1, 1);
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(9, 9);
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";
+ this.tableLayoutPanel1.RowCount = 3;
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(349, 70);
+ this.tableLayoutPanel1.TabIndex = 27;
+ //
+ // PictureBox1
+ //
+ this.PictureBox1.Image = global::Handbrake.Properties.Resources.logo64;
+ this.PictureBox1.InitialImage = null;
+ this.PictureBox1.Location = new System.Drawing.Point(3, 3);
+ this.PictureBox1.Name = "PictureBox1";
+ this.tableLayoutPanel1.SetRowSpan(this.PictureBox1, 3);
+ this.PictureBox1.Size = new System.Drawing.Size(64, 64);
+ this.PictureBox1.TabIndex = 25;
+ this.PictureBox1.TabStop = false;
+ //
// frmDownload
//
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(426, 87);
- this.Controls.Add(this.btn_cancel);
- this.Controls.Add(this.PictureBox1);
- this.Controls.Add(this.lblProgress);
- this.Controls.Add(this.progress_download);
- this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.AutoSize = true;
+ this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
+ this.ClientSize = new System.Drawing.Size(367, 88);
+ this.Controls.Add(this.tableLayoutPanel1);
+ this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
this.Name = "frmDownload";
+ this.Padding = new System.Windows.Forms.Padding(9);
this.ShowIcon = false;
+ this.ShowInTaskbar = false;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Downloading Update";
+ this.tableLayoutPanel1.ResumeLayout(false);
+ this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).EndInit();
this.ResumeLayout(false);
- this.PerformLayout();
}
@@ -108,7 +137,8 @@ namespace Handbrake
private System.Windows.Forms.Label lblProgress;
private System.Windows.Forms.ProgressBar progress_download;
- internal System.Windows.Forms.PictureBox PictureBox1;
internal System.Windows.Forms.Button btn_cancel;
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
+ internal System.Windows.Forms.PictureBox PictureBox1;
}
} \ No newline at end of file