/* AudioTrack.cs $\r
\r
- This file is part of the HandBrake source code.\r
- Homepage: <http://handbrake.fr>.\r
- It may be used under the terms of the GNU General Public License. */\r
+ This file is part of the HandBrake source code.\r
+ Homepage: <http://handbrake.fr>.\r
+ It may be used under the terms of the GNU General Public License. */\r
\r
namespace Handbrake\r
{\r
/// </summary>\r
private void InitializeComponent()\r
{\r
+ this.components = new System.ComponentModel.Container();\r
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddPreset));\r
this.lbl_name = new System.Windows.Forms.Label();\r
this.txt_preset_name = new System.Windows.Forms.TextBox();\r
this.btn_add = new System.Windows.Forms.Button();\r
+ this.btn_cancel = new System.Windows.Forms.Button();\r
+ this.check_pictureSettings = new System.Windows.Forms.CheckBox();\r
+ this.toolTip = new System.Windows.Forms.ToolTip(this.components);\r
+ this.label1 = new System.Windows.Forms.Label();\r
+ this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
+ this.tableLayoutPanel1.SuspendLayout();\r
this.SuspendLayout();\r
// \r
// lbl_name\r
// \r
+ this.lbl_name.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
this.lbl_name.AutoSize = true;\r
- this.lbl_name.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.lbl_name.Location = new System.Drawing.Point(14, 20);\r
+ this.lbl_name.Location = new System.Drawing.Point(3, 7);\r
this.lbl_name.Name = "lbl_name";\r
- this.lbl_name.Size = new System.Drawing.Size(89, 13);\r
+ this.lbl_name.Size = new System.Drawing.Size(75, 13);\r
this.lbl_name.TabIndex = 1;\r
this.lbl_name.Text = "Preset Name: ";\r
// \r
// txt_preset_name\r
// \r
- this.txt_preset_name.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
- this.txt_preset_name.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.txt_preset_name.Location = new System.Drawing.Point(109, 17);\r
+ this.txt_preset_name.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));\r
+ this.tableLayoutPanel1.SetColumnSpan(this.txt_preset_name, 2);\r
+ this.txt_preset_name.Location = new System.Drawing.Point(84, 3);\r
this.txt_preset_name.Name = "txt_preset_name";\r
- this.txt_preset_name.Size = new System.Drawing.Size(241, 21);\r
- this.txt_preset_name.TabIndex = 2;\r
+ this.txt_preset_name.Size = new System.Drawing.Size(208, 21);\r
+ this.txt_preset_name.TabIndex = 0;\r
// \r
// btn_add\r
// \r
+ this.btn_add.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));\r
this.btn_add.BackColor = System.Drawing.Color.Transparent;\r
this.btn_add.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
- this.btn_add.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.btn_add.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.btn_add.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
- this.btn_add.Location = new System.Drawing.Point(233, 44);\r
+ this.btn_add.Location = new System.Drawing.Point(172, 72);\r
this.btn_add.Name = "btn_add";\r
- this.btn_add.Size = new System.Drawing.Size(117, 22);\r
- this.btn_add.TabIndex = 4;\r
- this.btn_add.TabStop = false;\r
- this.btn_add.Text = "Add Preset";\r
- this.btn_add.UseVisualStyleBackColor = true;\r
- this.btn_add.Click += new System.EventHandler(this.btn_add_Click);\r
+ this.btn_add.Size = new System.Drawing.Size(57, 22);\r
+ this.btn_add.TabIndex = 2;\r
+ this.btn_add.Text = "Add";\r
+ this.btn_add.UseVisualStyleBackColor = false;\r
+ this.btn_add.Click += new System.EventHandler(this.BtnAddClick);\r
+ // \r
+ // btn_cancel\r
+ // \r
+ this.btn_cancel.BackColor = System.Drawing.Color.Transparent;\r
+ this.btn_cancel.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
+ this.btn_cancel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.btn_cancel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
+ this.btn_cancel.Location = new System.Drawing.Point(235, 72);\r
+ this.btn_cancel.Name = "btn_cancel";\r
+ this.btn_cancel.Size = new System.Drawing.Size(57, 22);\r
+ this.btn_cancel.TabIndex = 3;\r
+ this.btn_cancel.Text = "Cancel";\r
+ this.btn_cancel.UseVisualStyleBackColor = false;\r
+ this.btn_cancel.Click += new System.EventHandler(this.BtnCancelClick);\r
+ // \r
+ // check_pictureSettings\r
+ // \r
+ this.check_pictureSettings.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+ this.check_pictureSettings.AutoSize = true;\r
+ this.tableLayoutPanel1.SetColumnSpan(this.check_pictureSettings, 2);\r
+ this.check_pictureSettings.Location = new System.Drawing.Point(84, 30);\r
+ this.check_pictureSettings.Name = "check_pictureSettings";\r
+ this.check_pictureSettings.Size = new System.Drawing.Size(132, 17);\r
+ this.check_pictureSettings.TabIndex = 1;\r
+ this.check_pictureSettings.Text = "Store Cropping Values";\r
+ this.toolTip.SetToolTip(this.check_pictureSettings, "Save Picture Width/Height and Crop Values");\r
+ this.check_pictureSettings.UseVisualStyleBackColor = true;\r
+ // \r
+ // label1\r
+ // \r
+ this.label1.Anchor = System.Windows.Forms.AnchorStyles.Left;\r
+ this.label1.AutoSize = true;\r
+ this.tableLayoutPanel1.SetColumnSpan(this.label1, 2);\r
+ this.label1.Location = new System.Drawing.Point(84, 53);\r
+ this.label1.Margin = new System.Windows.Forms.Padding(3);\r
+ this.label1.Name = "label1";\r
+ this.label1.Size = new System.Drawing.Size(200, 13);\r
+ this.label1.TabIndex = 4;\r
+ this.label1.Text = "Note: Subtitles are not stored in presets";\r
+ // \r
+ // tableLayoutPanel1\r
+ // \r
+ this.tableLayoutPanel1.AutoSize = true;\r
+ this.tableLayoutPanel1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+ this.tableLayoutPanel1.ColumnCount = 3;\r
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));\r
+ this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());\r
+ this.tableLayoutPanel1.Controls.Add(this.lbl_name, 0, 0);\r
+ this.tableLayoutPanel1.Controls.Add(this.btn_cancel, 2, 3);\r
+ this.tableLayoutPanel1.Controls.Add(this.label1, 1, 2);\r
+ this.tableLayoutPanel1.Controls.Add(this.btn_add, 1, 3);\r
+ this.tableLayoutPanel1.Controls.Add(this.txt_preset_name, 1, 0);\r
+ this.tableLayoutPanel1.Controls.Add(this.check_pictureSettings, 1, 1);\r
+ this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;\r
+ this.tableLayoutPanel1.Location = new System.Drawing.Point(9, 9);\r
+ this.tableLayoutPanel1.Name = "tableLayoutPanel1";\r
+ this.tableLayoutPanel1.RowCount = 4;\r
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+ this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());\r
+ this.tableLayoutPanel1.Size = new System.Drawing.Size(295, 125);\r
+ this.tableLayoutPanel1.TabIndex = 5;\r
// \r
// frmAddPreset\r
// \r
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);\r
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
- this.ClientSize = new System.Drawing.Size(366, 76);\r
- this.Controls.Add(this.btn_add);\r
- this.Controls.Add(this.txt_preset_name);\r
- this.Controls.Add(this.lbl_name);\r
- this.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);\r
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;\r
+ this.AutoSize = true;\r
+ this.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;\r
+ this.ClientSize = new System.Drawing.Size(313, 143);\r
+ this.Controls.Add(this.tableLayoutPanel1);\r
+ this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;\r
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
this.MaximizeBox = false;\r
this.MinimizeBox = false;\r
this.Name = "frmAddPreset";\r
+ this.Padding = new System.Windows.Forms.Padding(9);\r
+ this.ShowIcon = false;\r
this.ShowInTaskbar = false;\r
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;\r
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
this.Text = "Add Preset";\r
this.TopMost = true;\r
+ this.tableLayoutPanel1.ResumeLayout(false);\r
+ this.tableLayoutPanel1.PerformLayout();\r
this.ResumeLayout(false);\r
this.PerformLayout();\r
\r
private System.Windows.Forms.Label lbl_name;\r
private System.Windows.Forms.TextBox txt_preset_name;\r
internal System.Windows.Forms.Button btn_add;\r
+ internal System.Windows.Forms.Button btn_cancel;\r
+ private System.Windows.Forms.CheckBox check_pictureSettings;\r
+ private System.Windows.Forms.ToolTip toolTip;\r
+ private System.Windows.Forms.Label label1;\r
+ private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;\r
}\r
}
\ No newline at end of file