summaryrefslogtreecommitdiffstats
path: root/win/C#/frmAddPreset.Designer.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2008-09-20 15:11:23 +0000
committersr55 <[email protected]>2008-09-20 15:11:23 +0000
commitb9601981bb42dc82e5d49377fbc6c2de989973cb (patch)
tree02bda4b9c43d029c1e2071f4cc884fe81da11390 /win/C#/frmAddPreset.Designer.cs
parentb3b3fc83847dc15ac9d0aaed2f41e8ffd8228ef2 (diff)
WinGui:
- User presets and built in presets are now show in seperate colours. User preset's are shown in black and built in are blue. - Added cancel button to add preset. - Removed File Menu > Import. This is not required. Users can import old .hb files as text into the query editor if need be. - Adding a new user preset no longer stores Title and file input/output information. While these were never used, it's a waste of space storing them in the user presets file. - Added a comfirm dialog for removing presets. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1735 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmAddPreset.Designer.cs')
-rw-r--r--win/C#/frmAddPreset.Designer.cs20
1 files changed, 19 insertions, 1 deletions
diff --git a/win/C#/frmAddPreset.Designer.cs b/win/C#/frmAddPreset.Designer.cs
index 00f33ba21..3db705c1b 100644
--- a/win/C#/frmAddPreset.Designer.cs
+++ b/win/C#/frmAddPreset.Designer.cs
@@ -38,6 +38,7 @@ namespace Handbrake
this.lbl_name = new System.Windows.Forms.Label();
this.txt_preset_name = new System.Windows.Forms.TextBox();
this.btn_add = new System.Windows.Forms.Button();
+ this.btn_cancel = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// lbl_name
@@ -65,7 +66,7 @@ namespace Handbrake
this.btn_add.FlatAppearance.BorderColor = System.Drawing.Color.Black;
this.btn_add.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_add.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_add.Location = new System.Drawing.Point(284, 42);
+ this.btn_add.Location = new System.Drawing.Point(284, 44);
this.btn_add.Name = "btn_add";
this.btn_add.Size = new System.Drawing.Size(66, 22);
this.btn_add.TabIndex = 0;
@@ -74,11 +75,27 @@ namespace Handbrake
this.btn_add.UseVisualStyleBackColor = false;
this.btn_add.Click += new System.EventHandler(this.btn_add_Click);
//
+ // btn_cancel
+ //
+ this.btn_cancel.BackColor = System.Drawing.SystemColors.Control;
+ 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.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
+ this.btn_cancel.Location = new System.Drawing.Point(212, 44);
+ this.btn_cancel.Name = "btn_cancel";
+ this.btn_cancel.Size = new System.Drawing.Size(66, 22);
+ this.btn_cancel.TabIndex = 3;
+ this.btn_cancel.TabStop = false;
+ this.btn_cancel.Text = "Cancel";
+ this.btn_cancel.UseVisualStyleBackColor = false;
+ this.btn_cancel.Click += new System.EventHandler(this.btn_cancel_Click);
+ //
// frmAddPreset
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(362, 76);
+ this.Controls.Add(this.btn_cancel);
this.Controls.Add(this.btn_add);
this.Controls.Add(this.txt_preset_name);
this.Controls.Add(this.lbl_name);
@@ -102,5 +119,6 @@ namespace Handbrake
private System.Windows.Forms.Label lbl_name;
private System.Windows.Forms.TextBox txt_preset_name;
internal System.Windows.Forms.Button btn_add;
+ internal System.Windows.Forms.Button btn_cancel;
}
} \ No newline at end of file