System.Windows.Forms.Label Label38;\r
System.Windows.Forms.ContextMenuStrip notifyIconMenu;\r
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain));\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();\r
this.btn_restore = new System.Windows.Forms.ToolStripMenuItem();\r
this.DVD_Save = new System.Windows.Forms.SaveFileDialog();\r
this.File_Save = new System.Windows.Forms.SaveFileDialog();\r
this.Label46 = new System.Windows.Forms.Label();\r
this.Label40 = new System.Windows.Forms.Label();\r
this.TabPage1 = new System.Windows.Forms.TabPage();\r
+ this.check_customCrop = new System.Windows.Forms.RadioButton();\r
+ this.check_autoCrop = new System.Windows.Forms.RadioButton();\r
this.check_decomb = new System.Windows.Forms.CheckBox();\r
this.label6 = new System.Windows.Forms.Label();\r
this.drp_anamorphic = new System.Windows.Forms.ComboBox();\r
this.Label53 = new System.Windows.Forms.Label();\r
this.Label52 = new System.Windows.Forms.Label();\r
this.Label51 = new System.Windows.Forms.Label();\r
- this.Label50 = new System.Windows.Forms.Label();\r
this.Label15 = new System.Windows.Forms.Label();\r
- this.drp_crop = new System.Windows.Forms.ComboBox();\r
this.Check_ChapterMarkers = new System.Windows.Forms.CheckBox();\r
this.advancedOptions = new System.Windows.Forms.TabControl();\r
this.tab_chapters = new System.Windows.Forms.TabPage();\r
// \r
// number\r
// \r
- dataGridViewCellStyle1.Format = "N0";\r
- dataGridViewCellStyle1.NullValue = null;\r
- this.number.DefaultCellStyle = dataGridViewCellStyle1;\r
+ dataGridViewCellStyle11.Format = "N0";\r
+ dataGridViewCellStyle11.NullValue = null;\r
+ this.number.DefaultCellStyle = dataGridViewCellStyle11;\r
this.number.HeaderText = "Chapter Number";\r
this.number.MaxInputLength = 3;\r
this.number.Name = "number";\r
// TabPage1\r
// \r
this.TabPage1.BackColor = System.Drawing.Color.Transparent;\r
+ this.TabPage1.Controls.Add(this.check_customCrop);\r
+ this.TabPage1.Controls.Add(this.check_autoCrop);\r
this.TabPage1.Controls.Add(this.check_decomb);\r
this.TabPage1.Controls.Add(this.lbl_src_res);\r
this.TabPage1.Controls.Add(this.label7);\r
this.TabPage1.Controls.Add(this.Label53);\r
this.TabPage1.Controls.Add(this.Label52);\r
this.TabPage1.Controls.Add(this.Label51);\r
- this.TabPage1.Controls.Add(this.Label50);\r
this.TabPage1.Controls.Add(this.Label15);\r
- this.TabPage1.Controls.Add(this.drp_crop);\r
this.TabPage1.Location = new System.Drawing.Point(4, 22);\r
this.TabPage1.Name = "TabPage1";\r
this.TabPage1.Padding = new System.Windows.Forms.Padding(3);\r
this.TabPage1.TabIndex = 0;\r
this.TabPage1.Text = "Picture Settings";\r
// \r
+ // check_customCrop\r
+ // \r
+ this.check_customCrop.AutoSize = true;\r
+ this.check_customCrop.Location = new System.Drawing.Point(16, 58);\r
+ this.check_customCrop.Name = "check_customCrop";\r
+ this.check_customCrop.Size = new System.Drawing.Size(74, 17);\r
+ this.check_customCrop.TabIndex = 34;\r
+ this.check_customCrop.Text = "Custom:";\r
+ this.check_customCrop.UseVisualStyleBackColor = true;\r
+ this.check_customCrop.CheckedChanged += new System.EventHandler(this.check_customCrop_CheckedChanged);\r
+ // \r
+ // check_autoCrop\r
+ // \r
+ this.check_autoCrop.AutoSize = true;\r
+ this.check_autoCrop.Checked = true;\r
+ this.check_autoCrop.Location = new System.Drawing.Point(16, 34);\r
+ this.check_autoCrop.Name = "check_autoCrop";\r
+ this.check_autoCrop.Size = new System.Drawing.Size(82, 17);\r
+ this.check_autoCrop.TabIndex = 33;\r
+ this.check_autoCrop.TabStop = true;\r
+ this.check_autoCrop.Text = "Automatic";\r
+ this.check_autoCrop.UseVisualStyleBackColor = true;\r
+ this.check_autoCrop.CheckedChanged += new System.EventHandler(this.check_autoCrop_CheckedChanged);\r
+ // \r
// check_decomb\r
// \r
this.check_decomb.AutoSize = true;\r
// \r
// text_bottom\r
// \r
- this.text_bottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
- this.text_bottom.Location = new System.Drawing.Point(96, 130);\r
+ this.text_bottom.Location = new System.Drawing.Point(96, 147);\r
this.text_bottom.Maximum = new decimal(new int[] {\r
1080,\r
0,\r
// \r
// text_top\r
// \r
- this.text_top.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
- this.text_top.Location = new System.Drawing.Point(96, 84);\r
+ this.text_top.Location = new System.Drawing.Point(96, 101);\r
this.text_top.Maximum = new decimal(new int[] {\r
1080,\r
0,\r
// \r
// text_left\r
// \r
- this.text_left.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
- this.text_left.Location = new System.Drawing.Point(45, 106);\r
+ this.text_left.Location = new System.Drawing.Point(45, 123);\r
this.text_left.Maximum = new decimal(new int[] {\r
1920,\r
0,\r
// \r
// text_right\r
// \r
- this.text_right.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;\r
- this.text_right.Location = new System.Drawing.Point(147, 106);\r
+ this.text_right.Location = new System.Drawing.Point(147, 123);\r
this.text_right.Maximum = new decimal(new int[] {\r
1920,\r
0,\r
this.Label53.AutoSize = true;\r
this.Label53.BackColor = System.Drawing.Color.Transparent;\r
this.Label53.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label53.Location = new System.Drawing.Point(94, 154);\r
+ this.Label53.Location = new System.Drawing.Point(94, 171);\r
this.Label53.Name = "Label53";\r
this.Label53.Size = new System.Drawing.Size(48, 13);\r
this.Label53.TabIndex = 10;\r
this.Label52.AutoSize = true;\r
this.Label52.BackColor = System.Drawing.Color.Transparent;\r
this.Label52.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label52.Location = new System.Drawing.Point(103, 69);\r
+ this.Label52.Location = new System.Drawing.Point(103, 86);\r
this.Label52.Name = "Label52";\r
this.Label52.Size = new System.Drawing.Size(28, 13);\r
this.Label52.TabIndex = 5;\r
this.Label51.AutoSize = true;\r
this.Label51.BackColor = System.Drawing.Color.Transparent;\r
this.Label51.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label51.Location = new System.Drawing.Point(190, 108);\r
+ this.Label51.Location = new System.Drawing.Point(190, 125);\r
this.Label51.Name = "Label51";\r
this.Label51.Size = new System.Drawing.Size(36, 13);\r
this.Label51.TabIndex = 8;\r
this.Label51.Text = "Right";\r
// \r
- // Label50\r
- // \r
- this.Label50.AutoSize = true;\r
- this.Label50.BackColor = System.Drawing.Color.Transparent;\r
- this.Label50.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label50.Location = new System.Drawing.Point(13, 37);\r
- this.Label50.Name = "Label50";\r
- this.Label50.Size = new System.Drawing.Size(88, 13);\r
- this.Label50.TabIndex = 1;\r
- this.Label50.Text = "Select Option:";\r
- // \r
// Label15\r
// \r
this.Label15.AutoSize = true;\r
this.Label15.BackColor = System.Drawing.Color.Transparent;\r
this.Label15.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.Label15.Location = new System.Drawing.Point(13, 108);\r
+ this.Label15.Location = new System.Drawing.Point(13, 125);\r
this.Label15.Name = "Label15";\r
this.Label15.Size = new System.Drawing.Size(28, 13);\r
this.Label15.TabIndex = 3;\r
this.Label15.Text = "Left";\r
// \r
- // drp_crop\r
- // \r
- this.drp_crop.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;\r
- this.drp_crop.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));\r
- this.drp_crop.FormattingEnabled = true;\r
- this.drp_crop.Items.AddRange(new object[] {\r
- "Automatic",\r
- "Custom",\r
- "No Crop"});\r
- this.drp_crop.Location = new System.Drawing.Point(103, 34);\r
- this.drp_crop.Name = "drp_crop";\r
- this.drp_crop.Size = new System.Drawing.Size(123, 21);\r
- this.drp_crop.TabIndex = 2;\r
- this.drp_crop.SelectedIndexChanged += new System.EventHandler(this.drp_crop_SelectedIndexChanged);\r
- // \r
// Check_ChapterMarkers\r
// \r
this.Check_ChapterMarkers.AutoSize = true;\r
// \r
this.StatusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
this.lbl_encode});\r
- this.StatusStrip.Location = new System.Drawing.Point(0, 617);\r
+ this.StatusStrip.Location = new System.Drawing.Point(0, 619);\r
this.StatusStrip.Name = "StatusStrip";\r
this.StatusStrip.Size = new System.Drawing.Size(938, 22);\r
this.StatusStrip.TabIndex = 7;\r
// \r
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);\r
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;\r
- this.ClientSize = new System.Drawing.Size(938, 639);\r
+ this.ClientSize = new System.Drawing.Size(938, 641);\r
this.Controls.Add(this.GroupBox1);\r
this.Controls.Add(this.groupBox_dest);\r
this.Controls.Add(this.groupBox_output);\r
internal System.Windows.Forms.Label Label53;\r
internal System.Windows.Forms.Label Label52;\r
internal System.Windows.Forms.Label Label51;\r
- internal System.Windows.Forms.Label Label50;\r
internal System.Windows.Forms.Label Label15;\r
- internal System.Windows.Forms.ComboBox drp_crop;\r
internal System.Windows.Forms.TabControl advancedOptions;\r
internal System.Windows.Forms.Label Label46;\r
private System.Windows.Forms.GroupBox groupBox_dest;\r
private System.Windows.Forms.StatusStrip StatusStrip;\r
private System.Windows.Forms.ToolStripStatusLabel lbl_encode;\r
internal System.Windows.Forms.CheckBox check_decomb;\r
+ internal System.Windows.Forms.RadioButton check_customCrop;\r
+ internal System.Windows.Forms.RadioButton check_autoCrop;\r
\r
}\r
}
\ No newline at end of file
lblStatus.Text = "Setting up the GUI ...";\r
Application.DoEvents();\r
setupH264Panel(); // Initalize the H.264 Panel\r
- drp_crop.SelectedIndex = 0; // Set the default Cropping Option\r
loadPresetPanel(); // Load the Preset Panel\r
// Load the user's default settings or Normal Preset\r
if (Properties.Settings.Default.defaultSettings == "Checked")\r
text_height.BackColor = Color.LightGreen;\r
}\r
}\r
- private void drp_crop_SelectedIndexChanged(object sender, EventArgs e)\r
+ private void check_customCrop_CheckedChanged(object sender, EventArgs e)\r
{\r
- if ((string)drp_crop.SelectedItem == "Custom")\r
+ text_left.Enabled = true;\r
+ text_right.Enabled = true;\r
+ text_top.Enabled = true;\r
+ text_bottom.Enabled = true;\r
+ if (selectedTitle != null)\r
{\r
- text_left.Enabled = true;\r
- text_right.Enabled = true;\r
- text_top.Enabled = true;\r
- text_bottom.Enabled = true;\r
- text_left.Text = "0";\r
- text_right.Text = "0";\r
- text_top.Text = "0";\r
- text_bottom.Text = "0";\r
- }\r
-\r
- if ((string)drp_crop.SelectedItem == "Automatic")\r
- {\r
- text_left.Enabled = false;\r
- text_right.Enabled = false;\r
- text_top.Enabled = false;\r
- text_bottom.Enabled = false;\r
-\r
- if ((drp_dvdtitle.Text != "Automatic") && (selectedTitle != null))\r
- {\r
- text_top.Text = selectedTitle.AutoCropDimensions[0].ToString();\r
- text_bottom.Text = selectedTitle.AutoCropDimensions[1].ToString();\r
- text_left.Text = selectedTitle.AutoCropDimensions[2].ToString();\r
- text_right.Text = selectedTitle.AutoCropDimensions[3].ToString();\r
- }\r
- else\r
- {\r
- text_left.Text = "";\r
- text_right.Text = "";\r
- text_top.Text = "";\r
- text_bottom.Text = "";\r
- }\r
-\r
+ text_top.Text = selectedTitle.AutoCropDimensions[0].ToString();\r
+ text_bottom.Text = selectedTitle.AutoCropDimensions[1].ToString();\r
+ text_left.Text = selectedTitle.AutoCropDimensions[2].ToString();\r
+ text_right.Text = selectedTitle.AutoCropDimensions[3].ToString();\r
}\r
-\r
- if ((string)drp_crop.SelectedItem == "No Crop")\r
+ else\r
{\r
- text_left.Enabled = false;\r
- text_right.Enabled = false;\r
- text_top.Enabled = false;\r
- text_bottom.Enabled = false;\r
text_left.Text = "0";\r
text_right.Text = "0";\r
text_top.Text = "0";\r
text_bottom.Text = "0";\r
}\r
}\r
+ private void check_autoCrop_CheckedChanged(object sender, EventArgs e)\r
+ {\r
+ text_left.Enabled = false;\r
+ text_right.Enabled = false;\r
+ text_top.Enabled = false;\r
+ text_bottom.Enabled = false;\r
+ }\r
private void check_vfr_CheckedChanged(object sender, EventArgs e)\r
{\r
if (check_vfr.CheckState == CheckState.Checked)\r