/* 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
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.check_useFilters = new System.Windows.Forms.CheckBox();\r
this.toolTip = new System.Windows.Forms.ToolTip(this.components);\r
+ this.cb_usePictureSettings = new System.Windows.Forms.ComboBox();\r
+ this.label2 = new System.Windows.Forms.Label();\r
+ this.label3 = new System.Windows.Forms.Label();\r
this.SuspendLayout();\r
// \r
// lbl_name\r
// \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(12, 18);\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.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.Location = new System.Drawing.Point(130, 15);\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.Size = new System.Drawing.Size(172, 21);\r
this.txt_preset_name.TabIndex = 0;\r
// \r
// btn_add\r
// \r
- this.btn_add.BackColor = System.Drawing.SystemColors.Control;\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(212, 72);\r
+ this.btn_add.Location = new System.Drawing.Point(185, 133);\r
this.btn_add.Name = "btn_add";\r
- this.btn_add.Size = new System.Drawing.Size(66, 22);\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.btn_add_Click);\r
+ this.btn_add.Click += new System.EventHandler(this.BtnAddClick);\r
// \r
// btn_cancel\r
// \r
- this.btn_cancel.BackColor = System.Drawing.SystemColors.Control;\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("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\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(284, 72);\r
+ this.btn_cancel.Location = new System.Drawing.Point(248, 133);\r
this.btn_cancel.Name = "btn_cancel";\r
- this.btn_cancel.Size = new System.Drawing.Size(66, 22);\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.btn_cancel_Click);\r
+ this.btn_cancel.Click += new System.EventHandler(this.BtnCancelClick);\r
// \r
- // check_pictureSettings\r
+ // check_useFilters\r
// \r
- this.check_pictureSettings.AutoSize = true;\r
- this.check_pictureSettings.Location = new System.Drawing.Point(109, 44);\r
- this.check_pictureSettings.Name = "check_pictureSettings";\r
- this.check_pictureSettings.Size = new System.Drawing.Size(118, 17);\r
- this.check_pictureSettings.TabIndex = 1;\r
- this.check_pictureSettings.Text = "Use Picture Size";\r
- this.toolTip.SetToolTip(this.check_pictureSettings, "Save Picture Width/Height and Crop Values");\r
- this.check_pictureSettings.UseVisualStyleBackColor = true;\r
+ this.check_useFilters.AutoSize = true;\r
+ this.check_useFilters.Location = new System.Drawing.Point(130, 106);\r
+ this.check_useFilters.Name = "check_useFilters";\r
+ this.check_useFilters.Size = new System.Drawing.Size(112, 17);\r
+ this.check_useFilters.TabIndex = 1;\r
+ this.check_useFilters.Text = "Use Picture Filters";\r
+ this.toolTip.SetToolTip(this.check_useFilters, "Save Picture Width/Height and Crop Values");\r
+ this.check_useFilters.UseVisualStyleBackColor = true;\r
+ // \r
+ // cb_usePictureSettings\r
+ // \r
+ this.cb_usePictureSettings.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
+ this.cb_usePictureSettings.FormattingEnabled = true;\r
+ this.cb_usePictureSettings.Items.AddRange(new object[] {\r
+ "None",\r
+ "Source Maximum"});\r
+ this.cb_usePictureSettings.Location = new System.Drawing.Point(130, 79);\r
+ this.cb_usePictureSettings.Name = "cb_usePictureSettings";\r
+ this.cb_usePictureSettings.Size = new System.Drawing.Size(172, 21);\r
+ this.cb_usePictureSettings.TabIndex = 6;\r
+ // \r
+ // label2\r
+ // \r
+ this.label2.AutoSize = true;\r
+ this.label2.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.label2.Location = new System.Drawing.Point(12, 57);\r
+ this.label2.Name = "label2";\r
+ this.label2.Size = new System.Drawing.Size(100, 13);\r
+ this.label2.TabIndex = 7;\r
+ this.label2.Text = "Picture Settings:";\r
+ // \r
+ // label3\r
+ // \r
+ this.label3.AutoSize = true;\r
+ this.label3.Location = new System.Drawing.Point(12, 82);\r
+ this.label3.Margin = new System.Windows.Forms.Padding(3);\r
+ this.label3.Name = "label3";\r
+ this.label3.Size = new System.Drawing.Size(87, 13);\r
+ this.label3.TabIndex = 8;\r
+ this.label3.Text = "Use Picture Size:";\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(365, 100);\r
- this.Controls.Add(this.check_pictureSettings);\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(319, 166);\r
+ this.Controls.Add(this.label3);\r
+ this.Controls.Add(this.label2);\r
+ this.Controls.Add(this.cb_usePictureSettings);\r
+ this.Controls.Add(this.lbl_name);\r
+ this.Controls.Add(this.txt_preset_name);\r
+ this.Controls.Add(this.check_useFilters);\r
this.Controls.Add(this.btn_cancel);\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.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.Text = "Add New Preset";\r
this.TopMost = true;\r
this.ResumeLayout(false);\r
this.PerformLayout();\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.CheckBox check_useFilters;\r
private System.Windows.Forms.ToolTip toolTip;\r
+ private System.Windows.Forms.ComboBox cb_usePictureSettings;\r
+ private System.Windows.Forms.Label label2;\r
+ private System.Windows.Forms.Label label3;\r
}\r
}
\ No newline at end of file