diff options
Diffstat (limited to 'win')
-rw-r--r-- | win/C#/Properties/Settings.Designer.cs | 20 | ||||
-rw-r--r-- | win/C#/Properties/Settings.settings | 11 | ||||
-rw-r--r-- | win/C#/Resources/tempSplash.jpg | bin | 69461 -> 69221 bytes | |||
-rw-r--r-- | win/C#/app.config | 11 | ||||
-rw-r--r-- | win/C#/frmMain.Designer.cs | 22 | ||||
-rw-r--r-- | win/C#/frmMain.cs | 20 | ||||
-rw-r--r-- | win/C#/frmOptions.Designer.cs | 42 | ||||
-rw-r--r-- | win/C#/frmOptions.cs | 10 | ||||
-rw-r--r-- | win/C#/frmQueue.Designer.cs | 25 | ||||
-rw-r--r-- | win/C#/frmQueue.cs | 5 | ||||
-rw-r--r-- | win/C#/splash.jpg | bin | 43350 -> 0 bytes |
11 files changed, 134 insertions, 32 deletions
diff --git a/win/C#/Properties/Settings.Designer.cs b/win/C#/Properties/Settings.Designer.cs index aecb25910..db4342b49 100644 --- a/win/C#/Properties/Settings.Designer.cs +++ b/win/C#/Properties/Settings.Designer.cs @@ -25,7 +25,7 @@ namespace Handbrake.Properties { [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("2.41")]
+ [global::System.Configuration.DefaultSettingValueAttribute("2.4.1")]
public string GuiVersion {
get {
return ((string)(this["GuiVersion"]));
@@ -85,7 +85,7 @@ namespace Handbrake.Properties { [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
+ [global::System.Configuration.DefaultSettingValueAttribute("Checked")]
public string updateStatus {
get {
return ((string)(this["updateStatus"]));
@@ -97,7 +97,7 @@ namespace Handbrake.Properties { [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
+ [global::System.Configuration.DefaultSettingValueAttribute("Checked")]
public string verbose {
get {
return ((string)(this["verbose"]));
@@ -516,7 +516,7 @@ namespace Handbrake.Properties { [global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("")]
+ [global::System.Configuration.DefaultSettingValueAttribute("Checked")]
public string QuickStartWindow {
get {
return ((string)(this["QuickStartWindow"]));
@@ -562,5 +562,17 @@ namespace Handbrake.Properties { this["defaultError"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("Checked")]
+ public string tooltipEnable {
+ get {
+ return ((string)(this["tooltipEnable"]));
+ }
+ set {
+ this["tooltipEnable"] = value;
+ }
+ }
}
}
diff --git a/win/C#/Properties/Settings.settings b/win/C#/Properties/Settings.settings index d518d7825..0bf338f22 100644 --- a/win/C#/Properties/Settings.settings +++ b/win/C#/Properties/Settings.settings @@ -3,7 +3,7 @@ <Profiles />
<Settings>
<Setting Name="GuiVersion" Type="System.String" Scope="User">
- <Value Profile="(Default)">2.41</Value>
+ <Value Profile="(Default)">2.4.1</Value>
</Setting>
<Setting Name="updateFile" Type="System.String" Scope="User">
<Value Profile="(Default)">http://download.m0k.org/handbrake/windows/update.txt</Value>
@@ -18,10 +18,10 @@ <Value Profile="(Default)" />
</Setting>
<Setting Name="updateStatus" Type="System.String" Scope="User">
- <Value Profile="(Default)" />
+ <Value Profile="(Default)">Checked</Value>
</Setting>
<Setting Name="verbose" Type="System.String" Scope="User">
- <Value Profile="(Default)" />
+ <Value Profile="(Default)">Checked</Value>
</Setting>
<Setting Name="DVDSource" Type="System.String" Scope="User">
<Value Profile="(Default)" />
@@ -126,7 +126,7 @@ <Value Profile="(Default)" />
</Setting>
<Setting Name="QuickStartWindow" Type="System.String" Scope="User">
- <Value Profile="(Default)" />
+ <Value Profile="(Default)">Checked</Value>
</Setting>
<Setting Name="CliVersion" Type="System.String" Scope="User">
<Value Profile="(Default)">0.9.1</Value>
@@ -137,5 +137,8 @@ <Setting Name="defaultError" Type="System.String" Scope="User">
<Value Profile="(Default)">Program Error. Please enable debug more in: Tools > Options. If the error re-occurs, please report it on the forums.</Value>
</Setting>
+ <Setting Name="tooltipEnable" Type="System.String" Scope="User">
+ <Value Profile="(Default)">Checked</Value>
+ </Setting>
</Settings>
</SettingsFile>
\ No newline at end of file diff --git a/win/C#/Resources/tempSplash.jpg b/win/C#/Resources/tempSplash.jpg Binary files differindex da5fc10a6..6994569e3 100644 --- a/win/C#/Resources/tempSplash.jpg +++ b/win/C#/Resources/tempSplash.jpg diff --git a/win/C#/app.config b/win/C#/app.config index 46f1a7d7a..a5239f96c 100644 --- a/win/C#/app.config +++ b/win/C#/app.config @@ -8,7 +8,7 @@ <userSettings>
<Handbrake.Properties.Settings>
<setting name="GuiVersion" serializeAs="String">
- <value>2.41</value>
+ <value>2.4.1</value>
</setting>
<setting name="updateFile" serializeAs="String">
<value>http://download.m0k.org/handbrake/windows/update.txt</value>
@@ -23,10 +23,10 @@ <value />
</setting>
<setting name="updateStatus" serializeAs="String">
- <value />
+ <value>Checked</value>
</setting>
<setting name="verbose" serializeAs="String">
- <value />
+ <value>Checked</value>
</setting>
<setting name="DVDSource" serializeAs="String">
<value />
@@ -128,7 +128,7 @@ <value />
</setting>
<setting name="QuickStartWindow" serializeAs="String">
- <value />
+ <value>Checked</value>
</setting>
<setting name="CliVersion" serializeAs="String">
<value>0.9.1</value>
@@ -139,6 +139,9 @@ <setting name="defaultError" serializeAs="String">
<value>Program Error. Please enable debug more in: Tools > Options. If the error re-occurs, please report it on the forums.</value>
</setting>
+ <setting name="tooltipEnable" serializeAs="String">
+ <value>Checked</value>
+ </setting>
</Handbrake.Properties.Settings>
</userSettings>
</configuration>
\ No newline at end of file diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs index 76e8b36ed..386b1ab5f 100644 --- a/win/C#/frmMain.Designer.cs +++ b/win/C#/frmMain.Designer.cs @@ -220,6 +220,10 @@ namespace Handbrake this.File_Save.DefaultExt = "hb";
this.File_Save.Filter = "hb|*.hb";
//
+ // ToolTip
+ //
+ this.ToolTip.Active = false;
+ //
// drop_chapterFinish
//
this.drop_chapterFinish.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
@@ -428,7 +432,6 @@ namespace Handbrake this.drp_deInterlace_option.Size = new System.Drawing.Size(161, 21);
this.drp_deInterlace_option.TabIndex = 67;
this.drp_deInterlace_option.Text = "None";
- this.ToolTip.SetToolTip(this.drp_deInterlace_option, "Select the subtitle language you require from this dropdown.");
//
// drp_deNoise
//
@@ -445,7 +448,6 @@ namespace Handbrake this.drp_deNoise.Size = new System.Drawing.Size(161, 21);
this.drp_deNoise.TabIndex = 72;
this.drp_deNoise.Text = "None";
- this.ToolTip.SetToolTip(this.drp_deNoise, "Select the subtitle language you require from this dropdown.");
//
// DVD_Open
//
@@ -539,7 +541,7 @@ namespace Handbrake //
this.mnu_encode.Name = "mnu_encode";
this.mnu_encode.Size = new System.Drawing.Size(155, 22);
- this.mnu_encode.Text = "Encode Queue";
+ this.mnu_encode.Text = "View Queue";
this.mnu_encode.Click += new System.EventHandler(this.mnu_encode_Click);
//
// mnu_viewDVDdata
@@ -1029,7 +1031,7 @@ namespace Handbrake this.lbl_update.AutoSize = true;
this.lbl_update.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.lbl_update.ForeColor = System.Drawing.Color.Black;
- this.lbl_update.Location = new System.Drawing.Point(88, 594);
+ this.lbl_update.Location = new System.Drawing.Point(102, 594);
this.lbl_update.Name = "lbl_update";
this.lbl_update.Size = new System.Drawing.Size(193, 13);
this.lbl_update.TabIndex = 417;
@@ -1074,7 +1076,7 @@ namespace Handbrake this.Version.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.Version.Location = new System.Drawing.Point(12, 594);
this.Version.Name = "Version";
- this.Version.Size = new System.Drawing.Size(79, 20);
+ this.Version.Size = new System.Drawing.Size(94, 20);
this.Version.TabIndex = 415;
this.Version.Text = "Version 2.4";
//
@@ -1179,6 +1181,7 @@ namespace Handbrake this.QueryEditorText.Size = new System.Drawing.Size(605, 104);
this.QueryEditorText.TabIndex = 41;
this.QueryEditorText.Text = "";
+ this.ToolTip.SetToolTip(this.QueryEditorText, "Manually add or edit a query generated by the GUI.");
//
// h264Tab
//
@@ -1258,6 +1261,7 @@ namespace Handbrake this.rtf_h264advanced.Size = new System.Drawing.Size(605, 96);
this.rtf_h264advanced.TabIndex = 41;
this.rtf_h264advanced.Text = "";
+ this.ToolTip.SetToolTip(this.rtf_h264advanced, "H.264 advanced options can be added here. See link below for details.");
//
// Label92
//
@@ -1350,6 +1354,7 @@ namespace Handbrake this.drp_audioBitrate.Size = new System.Drawing.Size(101, 21);
this.drp_audioBitrate.TabIndex = 40;
this.drp_audioBitrate.Text = "128";
+ this.ToolTip.SetToolTip(this.drp_audioBitrate, "Set the Audio Bit-Rate");
//
// Label14
//
@@ -1425,6 +1430,7 @@ namespace Handbrake this.drp_audioSampleRate.Size = new System.Drawing.Size(101, 21);
this.drp_audioSampleRate.TabIndex = 23;
this.drp_audioSampleRate.Text = "44.1";
+ this.ToolTip.SetToolTip(this.drp_audioSampleRate, "Set the Audio Sample Rate");
//
// TabPage3
//
@@ -1531,6 +1537,7 @@ namespace Handbrake this.check_largeFile.Size = new System.Drawing.Size(172, 17);
this.check_largeFile.TabIndex = 51;
this.check_largeFile.Text = "Larger mp4 Files (> 4GB)";
+ this.ToolTip.SetToolTip(this.check_largeFile, "Allows creation of mp4 files greater than 4GB.");
this.check_largeFile.UseVisualStyleBackColor = true;
this.check_largeFile.Click += new System.EventHandler(this.check_largeFile_CheckedChanged);
//
@@ -1543,6 +1550,7 @@ namespace Handbrake this.check_turbo.Size = new System.Drawing.Size(110, 17);
this.check_turbo.TabIndex = 50;
this.check_turbo.Text = "Turbo 1st Pass";
+ this.ToolTip.SetToolTip(this.check_turbo, "Makes the first pass of a 2 pass encode faster.");
this.check_turbo.UseVisualStyleBackColor = true;
//
// Label23
@@ -1605,6 +1613,7 @@ namespace Handbrake this.drp_videoFramerate.Size = new System.Drawing.Size(112, 21);
this.drp_videoFramerate.TabIndex = 21;
this.drp_videoFramerate.Text = "Automatic";
+ this.ToolTip.SetToolTip(this.drp_videoFramerate, "Can be left to automcatic in most cases.");
//
// check_2PassEncode
//
@@ -1625,6 +1634,7 @@ namespace Handbrake this.slider_videoQuality.Size = new System.Drawing.Size(167, 42);
this.slider_videoQuality.TabIndex = 6;
this.slider_videoQuality.TickFrequency = 17;
+ this.ToolTip.SetToolTip(this.slider_videoQuality, "Set the quality level of the video. (Around 70% is fine for most)");
this.slider_videoQuality.Scroll += new System.EventHandler(this.slider_videoQuality_Scroll);
//
// text_filesize
@@ -1635,6 +1645,7 @@ namespace Handbrake this.text_filesize.Name = "text_filesize";
this.text_filesize.Size = new System.Drawing.Size(156, 21);
this.text_filesize.TabIndex = 16;
+ this.ToolTip.SetToolTip(this.text_filesize, "Set the file size you wish the encoded file to be.");
this.text_filesize.TextChanged += new System.EventHandler(this.text_filesize_TextChanged);
//
// Label46
@@ -1665,6 +1676,7 @@ namespace Handbrake this.text_bitrate.Name = "text_bitrate";
this.text_bitrate.Size = new System.Drawing.Size(156, 21);
this.text_bitrate.TabIndex = 15;
+ this.ToolTip.SetToolTip(this.text_bitrate, "Set the bitrate of the video");
this.text_bitrate.TextChanged += new System.EventHandler(this.text_bitrate_TextChanged);
//
// Label42
diff --git a/win/C#/frmMain.cs b/win/C#/frmMain.cs index 58ccc7df4..27b7ac813 100644 --- a/win/C#/frmMain.cs +++ b/win/C#/frmMain.cs @@ -58,11 +58,14 @@ namespace Handbrake // Display the quick start window if required.
quickStart();
+ // Enable or disable tooltips
+ tooltip();
+
//MessageBox.Show(System.Environment.OSVersion.Version.ToString());
}
- public void showSplash(object sender)
+ private void showSplash(object sender)
{
Form splash = new frmSplashScreen();
splash.Show();
@@ -70,7 +73,7 @@ namespace Handbrake splash.Close();
}
- public void loadUserDefaults()
+ private void loadUserDefaults()
{
try
{
@@ -159,7 +162,7 @@ namespace Handbrake }
}
- public void updateCheck()
+ private void updateCheck()
{
if (Properties.Settings.Default.updateStatus == "Checked")
{
@@ -182,7 +185,7 @@ namespace Handbrake }
}
- public void quickStart()
+ private void quickStart()
{
if ((Properties.Settings.Default.QuickStartWindow == "Checked") || (Properties.Settings.Default.QuickStartWindow == ""))
{
@@ -191,6 +194,14 @@ namespace Handbrake }
}
+ private void tooltip()
+ {
+ if (Properties.Settings.Default.tooltipEnable == "Checked")
+ {
+ ToolTip.Active = true;
+ }
+ }
+
// --------------------------------------------------------------
// The main Menu bar.
@@ -1389,7 +1400,6 @@ namespace Handbrake drp_audioBitrate.Items.Add("224");
drp_audioBitrate.Items.Add("256");
drp_audioBitrate.Items.Add("320");
- drp_audioBitrate.Items.Add("384");
}
}
diff --git a/win/C#/frmOptions.Designer.cs b/win/C#/frmOptions.Designer.cs index e86809574..189958bc9 100644 --- a/win/C#/frmOptions.Designer.cs +++ b/win/C#/frmOptions.Designer.cs @@ -44,6 +44,8 @@ namespace Handbrake this.GroupBox1 = new System.Windows.Forms.GroupBox();
this.check_guiDebug = new System.Windows.Forms.CheckBox();
this.btn_close = new System.Windows.Forms.Button();
+ this.label3 = new System.Windows.Forms.Label();
+ this.check_tooltip = new System.Windows.Forms.CheckBox();
this.GroupBox2.SuspendLayout();
this.GroupBox3.SuspendLayout();
this.GroupBox1.SuspendLayout();
@@ -70,6 +72,8 @@ namespace Handbrake // GroupBox2
//
this.GroupBox2.BackColor = System.Drawing.SystemColors.ControlLight;
+ this.GroupBox2.Controls.Add(this.label3);
+ this.GroupBox2.Controls.Add(this.check_tooltip);
this.GroupBox2.Controls.Add(this.Label1);
this.GroupBox2.Controls.Add(this.check_updateCheck);
this.GroupBox2.Controls.Add(this.Label2);
@@ -77,7 +81,7 @@ namespace Handbrake this.GroupBox2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.GroupBox2.Location = new System.Drawing.Point(12, 11);
this.GroupBox2.Name = "GroupBox2";
- this.GroupBox2.Size = new System.Drawing.Size(386, 132);
+ this.GroupBox2.Size = new System.Drawing.Size(386, 173);
this.GroupBox2.TabIndex = 55;
this.GroupBox2.TabStop = false;
this.GroupBox2.Text = "General Settings";
@@ -108,7 +112,7 @@ namespace Handbrake //
this.Label2.AutoSize = true;
this.Label2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.Label2.Location = new System.Drawing.Point(13, 72);
+ this.Label2.Location = new System.Drawing.Point(13, 67);
this.Label2.Name = "Label2";
this.Label2.Size = new System.Drawing.Size(229, 13);
this.Label2.TabIndex = 46;
@@ -118,7 +122,7 @@ namespace Handbrake //
this.check_userDefaultSettings.AutoSize = true;
this.check_userDefaultSettings.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.check_userDefaultSettings.Location = new System.Drawing.Point(16, 93);
+ this.check_userDefaultSettings.Location = new System.Drawing.Point(16, 88);
this.check_userDefaultSettings.Name = "check_userDefaultSettings";
this.check_userDefaultSettings.Size = new System.Drawing.Size(71, 17);
this.check_userDefaultSettings.TabIndex = 47;
@@ -192,7 +196,7 @@ namespace Handbrake this.GroupBox3.Controls.Add(this.drp_processors);
this.GroupBox3.Controls.Add(this.Label11);
this.GroupBox3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.GroupBox3.Location = new System.Drawing.Point(13, 149);
+ this.GroupBox3.Location = new System.Drawing.Point(13, 190);
this.GroupBox3.Name = "GroupBox3";
this.GroupBox3.Size = new System.Drawing.Size(386, 128);
this.GroupBox3.TabIndex = 56;
@@ -205,7 +209,7 @@ namespace Handbrake this.GroupBox1.Controls.Add(this.check_guiDebug);
this.GroupBox1.Controls.Add(this.check_verbose);
this.GroupBox1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.GroupBox1.Location = new System.Drawing.Point(13, 283);
+ this.GroupBox1.Location = new System.Drawing.Point(13, 324);
this.GroupBox1.Name = "GroupBox1";
this.GroupBox1.Size = new System.Drawing.Size(386, 70);
this.GroupBox1.TabIndex = 54;
@@ -231,7 +235,7 @@ namespace Handbrake this.btn_close.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_close.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_close.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_close.Location = new System.Drawing.Point(292, 360);
+ this.btn_close.Location = new System.Drawing.Point(292, 410);
this.btn_close.Name = "btn_close";
this.btn_close.Size = new System.Drawing.Size(107, 22);
this.btn_close.TabIndex = 53;
@@ -239,10 +243,32 @@ namespace Handbrake this.btn_close.UseVisualStyleBackColor = false;
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);
//
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.label3.Location = new System.Drawing.Point(13, 117);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(116, 13);
+ this.label3.TabIndex = 48;
+ this.label3.Text = "Enable GUI tooltips";
+ //
+ // check_tooltip
+ //
+ this.check_tooltip.AutoSize = true;
+ this.check_tooltip.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.check_tooltip.Location = new System.Drawing.Point(16, 138);
+ this.check_tooltip.Name = "check_tooltip";
+ this.check_tooltip.Size = new System.Drawing.Size(71, 17);
+ this.check_tooltip.TabIndex = 49;
+ this.check_tooltip.Text = "Enabled";
+ this.check_tooltip.UseVisualStyleBackColor = true;
+ this.check_tooltip.CheckedChanged += new System.EventHandler(this.check_tooltip_CheckedChanged);
+ //
// frmOptions
//
this.BackColor = System.Drawing.SystemColors.ControlLight;
- this.ClientSize = new System.Drawing.Size(411, 394);
+ this.ClientSize = new System.Drawing.Size(411, 444);
this.Controls.Add(this.GroupBox2);
this.Controls.Add(this.GroupBox3);
this.Controls.Add(this.GroupBox1);
@@ -281,5 +307,7 @@ namespace Handbrake internal System.Windows.Forms.GroupBox GroupBox1;
internal System.Windows.Forms.Button btn_close;
internal System.Windows.Forms.CheckBox check_guiDebug;
+ internal System.Windows.Forms.Label label3;
+ internal System.Windows.Forms.CheckBox check_tooltip;
}
}
\ No newline at end of file diff --git a/win/C#/frmOptions.cs b/win/C#/frmOptions.cs index b0bab6806..a85792400 100644 --- a/win/C#/frmOptions.cs +++ b/win/C#/frmOptions.cs @@ -37,6 +37,11 @@ namespace Handbrake {
check_guiDebug.CheckState = CheckState.Checked;
}
+
+ if (Properties.Settings.Default.tooltipEnable == "Checked")
+ {
+ check_tooltip.CheckState = CheckState.Checked;
+ }
}
private void check_updateCheck_CheckedChanged(object sender, EventArgs e)
@@ -75,6 +80,11 @@ namespace Handbrake Properties.Settings.Default.GuiDebug = check_guiDebug.CheckState.ToString();
}
+ private void check_tooltip_CheckedChanged(object sender, EventArgs e)
+ {
+ Properties.Settings.Default.tooltipEnable = check_tooltip.CheckState.ToString();
+ }
+
}
}
\ No newline at end of file diff --git a/win/C#/frmQueue.Designer.cs b/win/C#/frmQueue.Designer.cs index c8377c8e3..f5db97dbb 100644 --- a/win/C#/frmQueue.Designer.cs +++ b/win/C#/frmQueue.Designer.cs @@ -39,6 +39,7 @@ namespace Handbrake this.progressBar = new System.Windows.Forms.ProgressBar();
this.label2 = new System.Windows.Forms.Label();
this.lbl_progressValue = new System.Windows.Forms.Label();
+ this.btn_minimise = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// btn_down
@@ -131,9 +132,9 @@ namespace Handbrake this.btn_Close.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btn_Close.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btn_Close.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
- this.btn_Close.Location = new System.Drawing.Point(516, 374);
+ this.btn_Close.Location = new System.Drawing.Point(532, 374);
this.btn_Close.Name = "btn_Close";
- this.btn_Close.Size = new System.Drawing.Size(124, 22);
+ this.btn_Close.Size = new System.Drawing.Size(108, 22);
this.btn_Close.TabIndex = 27;
this.btn_Close.TabStop = false;
this.btn_Close.Text = "Close Window";
@@ -166,13 +167,29 @@ namespace Handbrake this.lbl_progressValue.TabIndex = 36;
this.lbl_progressValue.Text = "0 %";
//
+ // btn_minimise
+ //
+ this.btn_minimise.BackColor = System.Drawing.SystemColors.ControlLight;
+ this.btn_minimise.FlatAppearance.BorderColor = System.Drawing.Color.Black;
+ this.btn_minimise.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btn_minimise.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btn_minimise.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
+ this.btn_minimise.Location = new System.Drawing.Point(389, 374);
+ this.btn_minimise.Name = "btn_minimise";
+ this.btn_minimise.Size = new System.Drawing.Size(137, 22);
+ this.btn_minimise.TabIndex = 37;
+ this.btn_minimise.TabStop = false;
+ this.btn_minimise.Text = "Minimize Window";
+ this.btn_minimise.UseVisualStyleBackColor = false;
+ this.btn_minimise.Click += new System.EventHandler(this.btn_minimise_Click);
+ //
// frmQueue
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLight;
this.ClientSize = new System.Drawing.Size(657, 406);
- this.ControlBox = false;
+ this.Controls.Add(this.btn_minimise);
this.Controls.Add(this.lbl_progressValue);
this.Controls.Add(this.label2);
this.Controls.Add(this.progressBar);
@@ -185,6 +202,7 @@ namespace Handbrake this.Controls.Add(this.btn_Close);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MaximizeBox = false;
this.MaximumSize = new System.Drawing.Size(663, 431);
this.MinimumSize = new System.Drawing.Size(663, 431);
this.Name = "frmQueue";
@@ -207,5 +225,6 @@ namespace Handbrake private System.Windows.Forms.ProgressBar progressBar;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label lbl_progressValue;
+ internal System.Windows.Forms.Button btn_minimise;
}
}
\ No newline at end of file diff --git a/win/C#/frmQueue.cs b/win/C#/frmQueue.cs index 8e59e1116..c61b907c4 100644 --- a/win/C#/frmQueue.cs +++ b/win/C#/frmQueue.cs @@ -145,5 +145,10 @@ namespace Handbrake {
this.Hide();
}
+
+ private void btn_minimise_Click(object sender, EventArgs e)
+ {
+ this.WindowState = FormWindowState.Minimized;
+ }
}
}
\ No newline at end of file diff --git a/win/C#/splash.jpg b/win/C#/splash.jpg Binary files differdeleted file mode 100644 index b930b77ac..000000000 --- a/win/C#/splash.jpg +++ /dev/null |