OSDN Git Service

CLI: update the built in presets
[handbrake-jp/handbrake-jp-git.git] / win / C# / frmAddPreset.Designer.cs
index 541c3a3..5301221 100644 (file)
@@ -1,4 +1,10 @@
-namespace Handbrake\r
+/*  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
+\r
+namespace Handbrake\r
 {\r
     partial class frmAddPreset\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_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(12, 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.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(107, 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(193, 21);\r
-            this.txt_preset_name.TabIndex = 2;\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.Color.Transparent;\r
             this.btn_add.FlatAppearance.BorderColor = System.Drawing.Color.Black;\r
-            this.btn_add.FlatStyle = System.Windows.Forms.FlatStyle.Flat;\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(200, 44);\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(100, 22);\r
-            this.btn_add.TabIndex = 4;\r
-            this.btn_add.TabStop = false;\r
-            this.btn_add.Text = "Add Preset";\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.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(248, 133);\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_useFilters\r
+            // \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(6F, 13F);\r
-            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
-            this.ClientSize = new System.Drawing.Size(314, 76);\r
-            this.Controls.Add(this.btn_add);\r
-            this.Controls.Add(this.txt_preset_name);\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.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.Text = "Add Preset";\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 New Preset";\r
+            this.TopMost = true;\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_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