Version.Text = "Version " + Properties.Settings.Default.CliVersion;\r
\r
// update the status\r
- lblStatus.Text = "Checking for updates ...";\r
- // redraw the splash screen\r
- Application.DoEvents();\r
- // Run the update checker.\r
if (Properties.Settings.Default.updateStatus == "Checked")\r
+ {\r
+ lblStatus.Text = "Checking for updates ...";\r
+ // redraw the splash screen\r
+ Application.DoEvents();\r
+ // Run the update checker.\r
updateCheck();\r
- Thread.Sleep(200);\r
+ Thread.Sleep(200);\r
+ }\r
\r
// Update the presets\r
- lblStatus.Text = "Updaing Presets ...";\r
- Application.DoEvents();\r
- updatePresets();\r
- Thread.Sleep(200);\r
+ if (Properties.Settings.Default.updatePresets == "Checked")\r
+ {\r
+ lblStatus.Text = "Updaing Presets ...";\r
+ Application.DoEvents();\r
+ updatePresets();\r
+ Thread.Sleep(200);\r
+ }\r
\r
// Now load the users default if required. (Will overide the above setting)\r
- lblStatus.Text = "Loading User Default Settings...";\r
- Application.DoEvents();\r
- loadNormalPreset();\r
- loadUserDefaults();\r
- Thread.Sleep(100);\r
+ if (Properties.Settings.Default.defaultSettings == "Checked")\r
+ {\r
+ lblStatus.Text = "Loading User Default Settings...";\r
+ Application.DoEvents();\r
+ loadNormalPreset();\r
+ loadUserDefaults();\r
+ Thread.Sleep(100);\r
+ }\r
\r
// Enable or disable tooltips\r
- lblStatus.Text = "Loading Tooltips ...";\r
- Application.DoEvents();\r
- tooltip();\r
- Thread.Sleep(100);\r
+ if (Properties.Settings.Default.tooltipEnable == "Checked")\r
+ {\r
+ lblStatus.Text = "Loading Tooltips ...";\r
+ Application.DoEvents();\r
+ ToolTip.Active = true;\r
+ Thread.Sleep(100);\r
+ }\r
\r
// Hide the preset bar if required.\r
hidePresetBar();\r
}\r
}\r
\r
- private void tooltip()\r
- {\r
- if (Properties.Settings.Default.tooltipEnable == "Checked")\r
- {\r
- ToolTip.Active = true;\r
- }\r
- }\r
-\r
private void hidePresetBar()\r
{\r
if (Properties.Settings.Default.hidePresets == "Checked")\r
this.label5 = new System.Windows.Forms.Label();\r
this.tab_options = new System.Windows.Forms.TabControl();\r
this.tab_general = new System.Windows.Forms.TabPage();\r
+ this.check_updatePresets = new System.Windows.Forms.CheckBox();\r
this.check_showPreset = new System.Windows.Forms.CheckBox();\r
this.check_tooltip = new System.Windows.Forms.CheckBox();\r
this.check_updateCheck = new System.Windows.Forms.CheckBox();\r
this.btn_close.FlatStyle = System.Windows.Forms.FlatStyle.Flat;\r
this.btn_close.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.btn_close.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));\r
- this.btn_close.Location = new System.Drawing.Point(287, 287);\r
+ this.btn_close.Location = new System.Drawing.Point(288, 297);\r
this.btn_close.Name = "btn_close";\r
this.btn_close.Size = new System.Drawing.Size(107, 22);\r
this.btn_close.TabIndex = 53;\r
"Lock System",\r
"Log Off",\r
"Quit HandBrake"});\r
- this.drp_completeOption.Location = new System.Drawing.Point(192, 156);\r
+ this.drp_completeOption.Location = new System.Drawing.Point(192, 170);\r
this.drp_completeOption.Name = "drp_completeOption";\r
this.drp_completeOption.Size = new System.Drawing.Size(111, 21);\r
this.drp_completeOption.TabIndex = 43;\r
// \r
this.label5.AutoSize = true;\r
this.label5.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.label5.Location = new System.Drawing.Point(13, 158);\r
+ this.label5.Location = new System.Drawing.Point(13, 173);\r
this.label5.Name = "label5";\r
this.label5.Size = new System.Drawing.Size(173, 13);\r
this.label5.TabIndex = 42;\r
this.tab_options.Location = new System.Drawing.Point(12, 63);\r
this.tab_options.Name = "tab_options";\r
this.tab_options.SelectedIndex = 0;\r
- this.tab_options.Size = new System.Drawing.Size(382, 218);\r
+ this.tab_options.Size = new System.Drawing.Size(382, 228);\r
this.tab_options.TabIndex = 58;\r
// \r
// tab_general\r
// \r
this.tab_general.BackColor = System.Drawing.SystemColors.ControlLight;\r
+ this.tab_general.Controls.Add(this.check_updatePresets);\r
this.tab_general.Controls.Add(this.drp_completeOption);\r
this.tab_general.Controls.Add(this.label5);\r
this.tab_general.Controls.Add(this.check_showPreset);\r
this.tab_general.Location = new System.Drawing.Point(4, 22);\r
this.tab_general.Name = "tab_general";\r
this.tab_general.Padding = new System.Windows.Forms.Padding(3);\r
- this.tab_general.Size = new System.Drawing.Size(374, 192);\r
+ this.tab_general.Size = new System.Drawing.Size(374, 202);\r
this.tab_general.TabIndex = 0;\r
this.tab_general.Text = "General";\r
// \r
+ // check_updatePresets\r
+ // \r
+ this.check_updatePresets.AutoSize = true;\r
+ this.check_updatePresets.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.check_updatePresets.Location = new System.Drawing.Point(16, 125);\r
+ this.check_updatePresets.Name = "check_updatePresets";\r
+ this.check_updatePresets.Size = new System.Drawing.Size(112, 17);\r
+ this.check_updatePresets.TabIndex = 59;\r
+ this.check_updatePresets.Text = "Update presets";\r
+ this.check_updatePresets.UseVisualStyleBackColor = true;\r
+ this.check_updatePresets.CheckedChanged += new System.EventHandler(this.check_updatePresets_CheckedChanged);\r
+ // \r
// check_showPreset\r
// \r
this.check_showPreset.AutoSize = true;\r
// \r
this.check_userDefaultSettings.AutoSize = true;\r
this.check_userDefaultSettings.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.check_userDefaultSettings.Location = new System.Drawing.Point(16, 104);\r
+ this.check_userDefaultSettings.Location = new System.Drawing.Point(16, 102);\r
this.check_userDefaultSettings.Name = "check_userDefaultSettings";\r
this.check_userDefaultSettings.Size = new System.Drawing.Size(166, 17);\r
this.check_userDefaultSettings.TabIndex = 56;\r
// \r
this.label2.AutoSize = true;\r
this.label2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.label2.Location = new System.Drawing.Point(13, 135);\r
+ this.label2.Location = new System.Drawing.Point(13, 156);\r
this.label2.Name = "label2";\r
this.label2.Size = new System.Drawing.Size(80, 13);\r
this.label2.TabIndex = 54;\r
this.label1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
this.label1.Location = new System.Drawing.Point(13, 13);\r
this.label1.Name = "label1";\r
- this.label1.Size = new System.Drawing.Size(55, 13);\r
+ this.label1.Size = new System.Drawing.Size(76, 13);\r
this.label1.TabIndex = 0;\r
- this.label1.Text = "Startup";\r
+ this.label1.Text = "On Startup";\r
// \r
// tab_debug\r
// \r
this.tab_debug.Controls.Add(this.label6);\r
this.tab_debug.Location = new System.Drawing.Point(4, 22);\r
this.tab_debug.Name = "tab_debug";\r
- this.tab_debug.Size = new System.Drawing.Size(374, 192);\r
+ this.tab_debug.Size = new System.Drawing.Size(374, 202);\r
this.tab_debug.TabIndex = 2;\r
this.tab_debug.Text = "Debug Options";\r
// \r
this.tab_advanced.Location = new System.Drawing.Point(4, 22);\r
this.tab_advanced.Name = "tab_advanced";\r
this.tab_advanced.Padding = new System.Windows.Forms.Padding(3);\r
- this.tab_advanced.Size = new System.Drawing.Size(374, 192);\r
+ this.tab_advanced.Size = new System.Drawing.Size(374, 202);\r
this.tab_advanced.TabIndex = 1;\r
this.tab_advanced.Text = "Advanced";\r
// \r
// frmOptions\r
// \r
this.BackColor = System.Drawing.SystemColors.ControlLight;\r
- this.ClientSize = new System.Drawing.Size(407, 316);\r
+ this.ClientSize = new System.Drawing.Size(407, 328);\r
this.Controls.Add(this.label7);\r
this.Controls.Add(this.label8);\r
this.Controls.Add(this.pictureBox2);\r
private System.Windows.Forms.Label label8;\r
private System.Windows.Forms.PictureBox pictureBox2;\r
private System.Windows.Forms.Label label7;\r
+ internal System.Windows.Forms.CheckBox check_updatePresets;\r
}\r
}
\ No newline at end of file