this.lbl_HBBuild = new System.Windows.Forms.Label();\r
this.PictureBox1 = new System.Windows.Forms.PictureBox();\r
this.btn_close = new System.Windows.Forms.Button();\r
+ this.richTextBox1 = new System.Windows.Forms.RichTextBox();\r
+ this.label2 = new System.Windows.Forms.Label();\r
((System.ComponentModel.ISupportInitialize)(this.PictureBox1)).BeginInit();\r
this.SuspendLayout();\r
// \r
// btn_close\r
// \r
this.btn_close.DialogResult = System.Windows.Forms.DialogResult.OK;\r
- this.btn_close.Location = new System.Drawing.Point(274, 82);\r
+ this.btn_close.Location = new System.Drawing.Point(468, 279);\r
this.btn_close.Name = "btn_close";\r
this.btn_close.Size = new System.Drawing.Size(75, 23);\r
this.btn_close.TabIndex = 35;\r
this.btn_close.UseVisualStyleBackColor = true;\r
this.btn_close.Click += new System.EventHandler(this.btn_close_Click);\r
// \r
+ // richTextBox1\r
+ // \r
+ this.richTextBox1.Location = new System.Drawing.Point(128, 111);\r
+ this.richTextBox1.Name = "richTextBox1";\r
+ this.richTextBox1.Size = new System.Drawing.Size(415, 162);\r
+ this.richTextBox1.TabIndex = 36;\r
+ this.richTextBox1.Text = resources.GetString("richTextBox1.Text");\r
+ // \r
+ // label2\r
+ // \r
+ this.label2.AutoSize = true;\r
+ this.label2.Location = new System.Drawing.Point(125, 92);\r
+ this.label2.Margin = new System.Windows.Forms.Padding(3);\r
+ this.label2.Name = "label2";\r
+ this.label2.Size = new System.Drawing.Size(46, 13);\r
+ this.label2.TabIndex = 37;\r
+ this.label2.Text = "License:";\r
+ this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;\r
+ // \r
// frmAbout\r
// \r
this.AcceptButton = this.btn_close;\r
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);\r
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;\r
this.CancelButton = this.btn_close;\r
- this.ClientSize = new System.Drawing.Size(363, 117);\r
+ this.ClientSize = new System.Drawing.Size(555, 314);\r
+ this.Controls.Add(this.label2);\r
+ this.Controls.Add(this.richTextBox1);\r
this.Controls.Add(this.btn_close);\r
this.Controls.Add(this.label1);\r
this.Controls.Add(this.PictureBox1);\r
internal System.Windows.Forms.Label lbl_HBBuild;\r
internal System.Windows.Forms.PictureBox PictureBox1;\r
private System.Windows.Forms.Button btn_close;\r
+ private System.Windows.Forms.RichTextBox richTextBox1;\r
+ internal System.Windows.Forms.Label label2;\r
}\r
}
\ No newline at end of file
private static int _position;\r
private static string _lastMode;\r
private static string _currentMode;\r
- private Thread monitor;\r
- private Boolean kilLThread;\r
+ private Thread _monitor;\r
+ private Boolean _kilLThread;\r
\r
public frmActivityWindow(string mode)\r
{\r
- kilLThread = false;\r
+ _kilLThread = false;\r
_position = 0;\r
if (mode == "scan")\r
SetScanMode();\r
}\r
private void NewActivityWindow_Load(object sender, EventArgs e)\r
{\r
- monitor = new Thread(LogMonitor);\r
+ _monitor = new Thread(LogMonitor);\r
\r
try\r
{\r
- monitor.Start();\r
+ _monitor.Start();\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show(exc.ToString());\r
+ MessageBox.Show("Unable to monitor HandBrakes log files. Please report this error. If the problem presists, try rebooting your computer.\n\n Debug Informaton:\n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
}\r
}\r
\r
{\r
while (true)\r
{\r
- if (!IsHandleCreated || kilLThread) // break out the thread if the window has been disposed.\r
+ if (!IsHandleCreated || _kilLThread) // break out the thread if the window has been disposed.\r
break;\r
\r
// Perform a reset if require.\r
}\r
catch (Exception exc)\r
{\r
- appendText.AppendFormat("\nERROR: The Log file could not be read. You may need to restart HandBrake! " + exc);\r
+ appendText.AppendFormat("\n The Log file could not be read. You may need to restart HandBrake! " + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);\r
_position = 0;\r
ClearWindowText();\r
}\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show("SetWindowText(): Exception: \n" + exc);\r
+ MessageBox.Show("Unless you are having problems, you can probably ignore this error. It would not hurt to report this error!\n\nSetWindowText(): Exception: \n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);\r
}\r
}\r
private void ClearWindowText()\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show("ClearWindowText(): Exception: \n" + exc);\r
+ MessageBox.Show("Unless you are having problems, you can probably ignore this error. It would not hurt to report this error!\n\nClearWindowText(): Exception: \n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);\r
}\r
}\r
private void PrintLogHeader()\r
}\r
catch (Exception exc)\r
{\r
- MessageBox.Show("PrintLogHeader(): Exception: \n" + exc);\r
+ MessageBox.Show("Unless you are having problems, you can probably ignore this error. It would not hurt to report this error!\n\nPrintLogHeader(): Exception: \n" + exc, "Error", MessageBoxButtons.OK, MessageBoxIcon.Information);\r
}\r
\r
}\r
\r
protected override void OnClosing(CancelEventArgs e)\r
{\r
- kilLThread = true;\r
- monitor.Interrupt();\r
- monitor.Join();\r
+ _kilLThread = true;\r
+ _monitor.Interrupt();\r
+ _monitor.Join();\r
e.Cancel = true;\r
this.Dispose();\r
base.OnClosing(e);\r
this.HelpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();\r
this.mnu_user_guide = new System.Windows.Forms.ToolStripMenuItem();\r
this.mnu_handbrake_home = new System.Windows.Forms.ToolStripMenuItem();\r
- this.mnu_handbrake_forums = new System.Windows.Forms.ToolStripMenuItem();\r
this.ToolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();\r
this.mnu_UpdateCheck = new System.Windows.Forms.ToolStripMenuItem();\r
this.toolStripSeparator6 = new System.Windows.Forms.ToolStripSeparator();\r
this.Label47 = new System.Windows.Forms.Label();\r
this.Label3 = new System.Windows.Forms.Label();\r
this.tab_audio = new System.Windows.Forms.TabPage();\r
+ this.AudioSettings = new Handbrake.Controls.AudioPanel();\r
this.AudioMenuRowHeightHack = new System.Windows.Forms.ImageList(this.components);\r
this.tab_video = new System.Windows.Forms.TabPage();\r
+ this.lbl_qualityValue = new System.Windows.Forms.Label();\r
this.radio_cq = new System.Windows.Forms.RadioButton();\r
this.radio_avgBitrate = new System.Windows.Forms.RadioButton();\r
this.radio_targetFilesize = new System.Windows.Forms.RadioButton();\r
this.lbl_SliderValue = new System.Windows.Forms.Label();\r
this.Label46 = new System.Windows.Forms.Label();\r
this.tab_picture = new System.Windows.Forms.TabPage();\r
+ this.PictureSettings = new Handbrake.Controls.PictureSettings();\r
this.Check_ChapterMarkers = new System.Windows.Forms.CheckBox();\r
this.tabs_panel = new System.Windows.Forms.TabControl();\r
this.tab_filters = new System.Windows.Forms.TabPage();\r
+ this.Filters = new Handbrake.Controls.Filters();\r
this.tab_subtitles = new System.Windows.Forms.TabPage();\r
+ this.Subtitles = new Handbrake.Controls.Subtitles();\r
this.tab_chapters = new System.Windows.Forms.TabPage();\r
this.label31 = new System.Windows.Forms.Label();\r
this.tab_advanced = new System.Windows.Forms.TabPage();\r
+ this.x264Panel = new Handbrake.Controls.x264Panel();\r
this.tab_query = new System.Windows.Forms.TabPage();\r
this.btn_clear = new System.Windows.Forms.Button();\r
this.label34 = new System.Windows.Forms.Label();\r
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();\r
this.openPreset = new System.Windows.Forms.OpenFileDialog();\r
this.File_ChapterImport = new System.Windows.Forms.OpenFileDialog();\r
- this.lbl_qualityValue = new System.Windows.Forms.Label();\r
- this.PictureSettings = new Handbrake.Controls.PictureSettings();\r
- this.Filters = new Handbrake.Controls.Filters();\r
- this.AudioSettings = new Handbrake.Controls.AudioPanel();\r
- this.Subtitles = new Handbrake.Controls.Subtitles();\r
- this.x264Panel = new Handbrake.Controls.x264Panel();\r
notifyIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components);\r
notifyIconMenu.SuspendLayout();\r
((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).BeginInit();\r
this.HelpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
this.mnu_user_guide,\r
this.mnu_handbrake_home,\r
- this.mnu_handbrake_forums,\r
this.ToolStripSeparator3,\r
this.mnu_UpdateCheck,\r
this.toolStripSeparator6,\r
this.mnu_handbrake_home.Text = "HandBrake Homepage";\r
this.mnu_handbrake_home.Click += new System.EventHandler(this.mnu_handbrake_home_Click);\r
// \r
- // mnu_handbrake_forums\r
- // \r
- this.mnu_handbrake_forums.Name = "mnu_handbrake_forums";\r
- this.mnu_handbrake_forums.Size = new System.Drawing.Size(194, 22);\r
- this.mnu_handbrake_forums.Text = "HandBrake Forums";\r
- this.mnu_handbrake_forums.Click += new System.EventHandler(this.mnu_handbrake_forums_Click);\r
- // \r
// ToolStripSeparator3\r
// \r
this.ToolStripSeparator3.Name = "ToolStripSeparator3";\r
this.tab_audio.Text = "Audio";\r
this.tab_audio.UseVisualStyleBackColor = true;\r
// \r
+ // AudioSettings\r
+ // \r
+ this.AudioSettings.BackColor = System.Drawing.Color.Transparent;\r
+ this.AudioSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.AudioSettings.Location = new System.Drawing.Point(0, 0);\r
+ this.AudioSettings.Name = "AudioSettings";\r
+ this.AudioSettings.Size = new System.Drawing.Size(715, 310);\r
+ this.AudioSettings.TabIndex = 0;\r
+ // \r
// AudioMenuRowHeightHack\r
// \r
this.AudioMenuRowHeightHack.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;\r
this.tab_video.Text = "Video";\r
this.tab_video.UseVisualStyleBackColor = true;\r
// \r
+ // lbl_qualityValue\r
+ // \r
+ this.lbl_qualityValue.AutoSize = true;\r
+ this.lbl_qualityValue.BackColor = System.Drawing.Color.Transparent;\r
+ this.lbl_qualityValue.Location = new System.Drawing.Point(534, 100);\r
+ this.lbl_qualityValue.Name = "lbl_qualityValue";\r
+ this.lbl_qualityValue.Size = new System.Drawing.Size(24, 13);\r
+ this.lbl_qualityValue.TabIndex = 19;\r
+ this.lbl_qualityValue.Text = "0%";\r
+ // \r
// radio_cq\r
// \r
this.radio_cq.AutoSize = true;\r
this.tab_picture.Text = "Picture";\r
this.tab_picture.UseVisualStyleBackColor = true;\r
// \r
+ // PictureSettings\r
+ // \r
+ this.PictureSettings.BackColor = System.Drawing.Color.Transparent;\r
+ this.PictureSettings.Enabled = false;\r
+ this.PictureSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.PictureSettings.Location = new System.Drawing.Point(0, 0);\r
+ this.PictureSettings.Name = "PictureSettings";\r
+ this.PictureSettings.Size = new System.Drawing.Size(666, 279);\r
+ this.PictureSettings.TabIndex = 0;\r
+ // \r
// Check_ChapterMarkers\r
// \r
this.Check_ChapterMarkers.AutoSize = true;\r
this.tab_filters.Text = "Video Filters";\r
this.tab_filters.UseVisualStyleBackColor = true;\r
// \r
+ // Filters\r
+ // \r
+ this.Filters.BackColor = System.Drawing.Color.Transparent;\r
+ this.Filters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.Filters.Location = new System.Drawing.Point(0, 0);\r
+ this.Filters.Name = "Filters";\r
+ this.Filters.Size = new System.Drawing.Size(713, 310);\r
+ this.Filters.TabIndex = 0;\r
+ // \r
// tab_subtitles\r
// \r
this.tab_subtitles.Controls.Add(this.Subtitles);\r
this.tab_subtitles.Text = "Subtitles";\r
this.tab_subtitles.UseVisualStyleBackColor = true;\r
// \r
+ // Subtitles\r
+ // \r
+ this.Subtitles.BackColor = System.Drawing.Color.Transparent;\r
+ this.Subtitles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.Subtitles.Location = new System.Drawing.Point(0, 0);\r
+ this.Subtitles.Name = "Subtitles";\r
+ this.Subtitles.Size = new System.Drawing.Size(722, 310);\r
+ this.Subtitles.TabIndex = 0;\r
+ // \r
// tab_chapters\r
// \r
this.tab_chapters.BackColor = System.Drawing.Color.Transparent;\r
this.tab_advanced.Text = "Advanced";\r
this.tab_advanced.UseVisualStyleBackColor = true;\r
// \r
+ // x264Panel\r
+ // \r
+ this.x264Panel.BackColor = System.Drawing.Color.Transparent;\r
+ this.x264Panel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
+ this.x264Panel.Location = new System.Drawing.Point(0, 0);\r
+ this.x264Panel.Name = "x264Panel";\r
+ this.x264Panel.Size = new System.Drawing.Size(720, 306);\r
+ this.x264Panel.TabIndex = 0;\r
+ this.x264Panel.x264Query = "";\r
+ // \r
// tab_query\r
// \r
this.tab_query.Controls.Add(this.btn_clear);\r
// \r
this.File_ChapterImport.Filter = "CSV Files|*.csv";\r
// \r
- // lbl_qualityValue\r
- // \r
- this.lbl_qualityValue.AutoSize = true;\r
- this.lbl_qualityValue.BackColor = System.Drawing.Color.Transparent;\r
- this.lbl_qualityValue.Location = new System.Drawing.Point(534, 100);\r
- this.lbl_qualityValue.Name = "lbl_qualityValue";\r
- this.lbl_qualityValue.Size = new System.Drawing.Size(24, 13);\r
- this.lbl_qualityValue.TabIndex = 19;\r
- this.lbl_qualityValue.Text = "0%";\r
- // \r
- // PictureSettings\r
- // \r
- this.PictureSettings.BackColor = System.Drawing.Color.Transparent;\r
- this.PictureSettings.Enabled = false;\r
- this.PictureSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.PictureSettings.Location = new System.Drawing.Point(0, 0);\r
- this.PictureSettings.Name = "PictureSettings";\r
- this.PictureSettings.Size = new System.Drawing.Size(666, 279);\r
- this.PictureSettings.TabIndex = 0;\r
- // \r
- // Filters\r
- // \r
- this.Filters.BackColor = System.Drawing.Color.Transparent;\r
- this.Filters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Filters.Location = new System.Drawing.Point(0, 0);\r
- this.Filters.Name = "Filters";\r
- this.Filters.Size = new System.Drawing.Size(713, 310);\r
- this.Filters.TabIndex = 0;\r
- // \r
- // AudioSettings\r
- // \r
- this.AudioSettings.BackColor = System.Drawing.Color.Transparent;\r
- this.AudioSettings.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.AudioSettings.Location = new System.Drawing.Point(0, 0);\r
- this.AudioSettings.Name = "AudioSettings";\r
- this.AudioSettings.Size = new System.Drawing.Size(715, 310);\r
- this.AudioSettings.TabIndex = 0;\r
- // \r
- // Subtitles\r
- // \r
- this.Subtitles.BackColor = System.Drawing.Color.Transparent;\r
- this.Subtitles.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Subtitles.Location = new System.Drawing.Point(0, 0);\r
- this.Subtitles.Name = "Subtitles";\r
- this.Subtitles.Size = new System.Drawing.Size(722, 310);\r
- this.Subtitles.TabIndex = 0;\r
- // \r
- // x264Panel\r
- // \r
- this.x264Panel.BackColor = System.Drawing.Color.Transparent;\r
- this.x264Panel.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.x264Panel.Location = new System.Drawing.Point(0, 0);\r
- this.x264Panel.Name = "x264Panel";\r
- this.x264Panel.Size = new System.Drawing.Size(720, 306);\r
- this.x264Panel.TabIndex = 0;\r
- this.x264Panel.x264Query = "";\r
- // \r
// frmMain\r
// \r
this.AllowDrop = true;\r
private System.Windows.Forms.ToolStripMenuItem btn_file_source;\r
private System.Windows.Forms.ToolStripMenuItem mnu_delete_preset;\r
private System.Windows.Forms.ToolStripMenuItem btn_new_preset;\r
- private System.Windows.Forms.ToolStripMenuItem mnu_handbrake_forums;\r
private System.Windows.Forms.ToolStripMenuItem mnu_user_guide;\r
private System.Windows.Forms.ToolStripDropDownButton btn_source;\r
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;\r