summaryrefslogtreecommitdiffstats
path: root/win/C#/frmActivityWindow.Designer.cs
diff options
context:
space:
mode:
authorsr55 <[email protected]>2010-10-31 17:57:41 +0000
committersr55 <[email protected]>2010-10-31 17:57:41 +0000
commit57c8671f6c5e4cb263abbc4977959f19c92a02e8 (patch)
tree48d64a761c4e62ec0fdd21e8c1784a83ab71e8b2 /win/C#/frmActivityWindow.Designer.cs
parent812a95f0dcf1b396a213deaf93d50ab896d249f9 (diff)
WinGui:
- Tweak to the Activity window to make it clearer which encode log is selected. Also improves the logic which selects the correct log when the window loads. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3633 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'win/C#/frmActivityWindow.Designer.cs')
-rw-r--r--win/C#/frmActivityWindow.Designer.cs54
1 files changed, 16 insertions, 38 deletions
diff --git a/win/C#/frmActivityWindow.Designer.cs b/win/C#/frmActivityWindow.Designer.cs
index 7b066695f..b71122f64 100644
--- a/win/C#/frmActivityWindow.Designer.cs
+++ b/win/C#/frmActivityWindow.Designer.cs
@@ -42,10 +42,8 @@ namespace Handbrake
this.mnu_openLogFolder = new System.Windows.Forms.ToolStripMenuItem();
this.ToolTip = new System.Windows.Forms.ToolTip(this.components);
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
- this.dropDownLogSelector = new System.Windows.Forms.ToolStripDropDownButton();
- this.btn_encode_log = new System.Windows.Forms.ToolStripMenuItem();
- this.btn_scan_log = new System.Windows.Forms.ToolStripMenuItem();
this.btn_copy = new System.Windows.Forms.ToolStripButton();
+ this.logSelector = new System.Windows.Forms.ToolStripComboBox();
this.panel1 = new System.Windows.Forms.Panel();
this.rightClickMenu.SuspendLayout();
this.toolStrip1.SuspendLayout();
@@ -96,8 +94,8 @@ namespace Handbrake
//
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.dropDownLogSelector,
- this.btn_copy});
+ this.btn_copy,
+ this.logSelector});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional;
@@ -105,35 +103,6 @@ namespace Handbrake
this.toolStrip1.TabIndex = 96;
this.toolStrip1.Text = "toolStrip1";
//
- // dropDownLogSelector
- //
- this.dropDownLogSelector.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
- this.dropDownLogSelector.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.btn_encode_log,
- this.btn_scan_log});
- this.dropDownLogSelector.Image = global::Handbrake.Properties.Resources.Output_Small;
- this.dropDownLogSelector.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
- this.dropDownLogSelector.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.dropDownLogSelector.Name = "dropDownLogSelector";
- this.dropDownLogSelector.Size = new System.Drawing.Size(90, 22);
- this.dropDownLogSelector.Text = "Select Log";
- //
- // btn_encode_log
- //
- this.btn_encode_log.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.btn_encode_log.Name = "btn_encode_log";
- this.btn_encode_log.Size = new System.Drawing.Size(152, 22);
- this.btn_encode_log.Text = "Encode Log";
- this.btn_encode_log.Click += new System.EventHandler(this.BtnEncodeLogClick);
- //
- // btn_scan_log
- //
- this.btn_scan_log.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Text;
- this.btn_scan_log.Name = "btn_scan_log";
- this.btn_scan_log.Size = new System.Drawing.Size(152, 22);
- this.btn_scan_log.Text = "Scan Log";
- this.btn_scan_log.Click += new System.EventHandler(this.BtnScanLogClick);
- //
// btn_copy
//
this.btn_copy.Image = ((System.Drawing.Image)(resources.GetObject("btn_copy.Image")));
@@ -144,6 +113,17 @@ namespace Handbrake
this.btn_copy.Text = "Copy to clipboard";
this.btn_copy.Click += new System.EventHandler(this.BtnCopyClick);
//
+ // logSelector
+ //
+ this.logSelector.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
+ this.logSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+ this.logSelector.Items.AddRange(new object[] {
+ "Scan Log",
+ "Encode Log"});
+ this.logSelector.Name = "logSelector";
+ this.logSelector.Size = new System.Drawing.Size(121, 25);
+ this.logSelector.SelectedIndexChanged += new System.EventHandler(this.LogSelectorClick);
+ //
// panel1
//
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -169,7 +149,7 @@ namespace Handbrake
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Activity Window";
- this.Load += new System.EventHandler(this.NewActivityWindow_Load);
+ this.Load += new System.EventHandler(this.ActivityWindowLoad);
this.rightClickMenu.ResumeLayout(false);
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
@@ -184,12 +164,10 @@ namespace Handbrake
internal System.Windows.Forms.ToolTip ToolTip;
private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.Panel panel1;
- private System.Windows.Forms.ToolStripDropDownButton dropDownLogSelector;
- private System.Windows.Forms.ToolStripMenuItem btn_encode_log;
- private System.Windows.Forms.ToolStripMenuItem btn_scan_log;
private System.Windows.Forms.ToolStripButton btn_copy;
private System.Windows.Forms.ContextMenuStrip rightClickMenu;
private System.Windows.Forms.ToolStripMenuItem mnu_copy_log;
private System.Windows.Forms.ToolStripMenuItem mnu_openLogFolder;
+ private System.Windows.Forms.ToolStripComboBox logSelector;
}
} \ No newline at end of file