X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=win%2FC%23%2FfrmMain.Designer.cs;h=62a2d57f92a0a58caa0a1c06aff75c42669f7e5b;hb=b4464b6d962bb939a8f38b4d50057c441ab48111;hp=c5d09ae24b6fcf8ea46319a6e8d9a2ddbd9b224e;hpb=5ec75ae5da3775235a6d6987b632df23b3c683b7;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/win/C#/frmMain.Designer.cs b/win/C#/frmMain.Designer.cs index c5d09ae2..62a2d57f 100644 --- a/win/C#/frmMain.Designer.cs +++ b/win/C#/frmMain.Designer.cs @@ -40,7 +40,7 @@ namespace Handbrake this.components = new System.ComponentModel.Container(); System.Windows.Forms.ContextMenuStrip notifyIconMenu; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmMain)); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); this.btn_restore = new System.Windows.Forms.ToolStripMenuItem(); this.DVD_Save = new System.Windows.Forms.SaveFileDialog(); this.ToolTip = new System.Windows.Forms.ToolTip(this.components); @@ -58,6 +58,8 @@ namespace Handbrake this.data_chpt = new System.Windows.Forms.DataGridView(); this.number = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.name = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.ChaptersMenu = new System.Windows.Forms.ContextMenuStrip(this.components); + this.mnu_resetChapters = new System.Windows.Forms.ToolStripMenuItem(); this.btn_addPreset = new System.Windows.Forms.Button(); this.btn_removePreset = new System.Windows.Forms.Button(); this.drop_format = new System.Windows.Forms.ComboBox(); @@ -82,6 +84,7 @@ namespace Handbrake this.mnu_delete_preset = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator(); this.btn_new_preset = new System.Windows.Forms.ToolStripMenuItem(); + this.mnu_importMacPreset = new System.Windows.Forms.ToolStripMenuItem(); this.mnu_SelectDefault = new System.Windows.Forms.ToolStripMenuItem(); this.HelpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.mnu_user_guide = new System.Windows.Forms.ToolStripMenuItem(); @@ -112,6 +115,7 @@ namespace Handbrake this.tab_filters = new System.Windows.Forms.TabPage(); this.tab_subtitles = new System.Windows.Forms.TabPage(); this.tab_chapters = new System.Windows.Forms.TabPage(); + this.btn_importChapters = new System.Windows.Forms.Button(); this.label31 = new System.Windows.Forms.Label(); this.tab_advanced = new System.Windows.Forms.TabPage(); this.tab_query = new System.Windows.Forms.TabPage(); @@ -127,6 +131,8 @@ namespace Handbrake this.pmnu_expandAll = new System.Windows.Forms.ToolStripMenuItem(); this.pmnu_collapse = new System.Windows.Forms.ToolStripMenuItem(); this.sep1 = new System.Windows.Forms.ToolStripSeparator(); + this.pmnu_import = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator(); this.pmnu_saveChanges = new System.Windows.Forms.ToolStripMenuItem(); this.pmnu_delete = new System.Windows.Forms.ToolStripMenuItem(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); @@ -163,8 +169,8 @@ namespace Handbrake this.labelSource = new System.Windows.Forms.Label(); this.labelStaticSource = new System.Windows.Forms.Label(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); - this.mnu_importMacPreset = new System.Windows.Forms.ToolStripMenuItem(); this.openPreset = new System.Windows.Forms.OpenFileDialog(); + this.File_ChapterImport = new System.Windows.Forms.OpenFileDialog(); this.PictureSettings = new Handbrake.Controls.PictureSettings(); this.Filters = new Handbrake.Controls.Filters(); this.AudioSettings = new Handbrake.Controls.AudioPanel(); @@ -174,6 +180,7 @@ namespace Handbrake notifyIconMenu.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.data_chpt)).BeginInit(); + this.ChaptersMenu.SuspendLayout(); this.frmMainMenu.SuspendLayout(); this.tab_audio.SuspendLayout(); this.tab_video.SuspendLayout(); @@ -214,7 +221,7 @@ namespace Handbrake // // DVD_Save // - this.DVD_Save.Filter = "mp4|*.mp4|mkv|*.mkv"; + this.DVD_Save.Filter = "mp4|*.mp4;*.m4v|mkv|*.mkv"; this.DVD_Save.SupportMultiDottedExtensions = true; // // ToolTip @@ -382,6 +389,7 @@ namespace Handbrake this.data_chpt.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.number, this.name}); + this.data_chpt.ContextMenuStrip = this.ChaptersMenu; this.data_chpt.Location = new System.Drawing.Point(16, 55); this.data_chpt.MultiSelect = false; this.data_chpt.Name = "data_chpt"; @@ -392,9 +400,9 @@ namespace Handbrake // // number // - dataGridViewCellStyle3.Format = "N0"; - dataGridViewCellStyle3.NullValue = null; - this.number.DefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle1.Format = "N0"; + dataGridViewCellStyle1.NullValue = null; + this.number.DefaultCellStyle = dataGridViewCellStyle1; this.number.Frozen = true; this.number.HeaderText = "Chapter Number"; this.number.MaxInputLength = 3; @@ -408,6 +416,21 @@ namespace Handbrake this.name.Name = "name"; this.name.Width = 480; // + // ChaptersMenu + // + this.ChaptersMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.mnu_resetChapters}); + this.ChaptersMenu.Name = "presets_menu"; + this.ChaptersMenu.Size = new System.Drawing.Size(191, 26); + this.ChaptersMenu.Text = ";"; + // + // mnu_resetChapters + // + this.mnu_resetChapters.Name = "mnu_resetChapters"; + this.mnu_resetChapters.Size = new System.Drawing.Size(190, 22); + this.mnu_resetChapters.Text = "Reset Chapter Names"; + this.mnu_resetChapters.Click += new System.EventHandler(this.mnu_resetChapters_Click); + // // btn_addPreset // this.btn_addPreset.FlatAppearance.BorderColor = System.Drawing.Color.Black; @@ -461,7 +484,7 @@ namespace Handbrake this.drop_chapterFinish.Size = new System.Drawing.Size(69, 21); this.drop_chapterFinish.TabIndex = 10; this.ToolTip.SetToolTip(this.drop_chapterFinish, "Select the chapter range you would like to enocde. (default: All Chapters)"); - this.drop_chapterFinish.SelectedIndexChanged += new System.EventHandler(this.drop_chapterFinish_SelectedIndexChanged); + this.drop_chapterFinish.SelectedIndexChanged += new System.EventHandler(this.chapersChanged); // // drop_chapterStart // @@ -472,7 +495,7 @@ namespace Handbrake this.drop_chapterStart.Size = new System.Drawing.Size(69, 21); this.drop_chapterStart.TabIndex = 9; this.ToolTip.SetToolTip(this.drop_chapterStart, "Select the chapter range you would like to enocde. (default: All Chapters)"); - this.drop_chapterStart.SelectedIndexChanged += new System.EventHandler(this.drop_chapterStart_SelectedIndexChanged); + this.drop_chapterStart.SelectedIndexChanged += new System.EventHandler(this.chapersChanged); // // drop_angle // @@ -625,6 +648,13 @@ namespace Handbrake this.btn_new_preset.Text = "New Preset"; this.btn_new_preset.Click += new System.EventHandler(this.btn_new_preset_Click); // + // mnu_importMacPreset + // + this.mnu_importMacPreset.Name = "mnu_importMacPreset"; + this.mnu_importMacPreset.Size = new System.Drawing.Size(194, 22); + this.mnu_importMacPreset.Text = "Import"; + this.mnu_importMacPreset.Click += new System.EventHandler(this.mnu_importMacPreset_Click); + // // mnu_SelectDefault // this.mnu_SelectDefault.Name = "mnu_SelectDefault"; @@ -943,6 +973,7 @@ namespace Handbrake // tab_chapters // this.tab_chapters.BackColor = System.Drawing.Color.Transparent; + this.tab_chapters.Controls.Add(this.btn_importChapters); this.tab_chapters.Controls.Add(this.label31); this.tab_chapters.Controls.Add(this.data_chpt); this.tab_chapters.Controls.Add(this.Check_ChapterMarkers); @@ -953,6 +984,19 @@ namespace Handbrake this.tab_chapters.Text = "Chapters"; this.tab_chapters.UseVisualStyleBackColor = true; // + // btn_importChapters + // + this.btn_importChapters.AutoSize = true; + this.btn_importChapters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.btn_importChapters.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); + this.btn_importChapters.Location = new System.Drawing.Point(625, 26); + this.btn_importChapters.Name = "btn_importChapters"; + this.btn_importChapters.Size = new System.Drawing.Size(75, 23); + this.btn_importChapters.TabIndex = 14; + this.btn_importChapters.Text = "Import"; + this.btn_importChapters.UseVisualStyleBackColor = true; + this.btn_importChapters.Click += new System.EventHandler(this.btn_importChapters_Click); + // // label31 // this.label31.AutoSize = true; @@ -1101,10 +1145,12 @@ namespace Handbrake this.pmnu_expandAll, this.pmnu_collapse, this.sep1, + this.pmnu_import, + this.toolStripSeparator2, this.pmnu_saveChanges, this.pmnu_delete}); this.presets_menu.Name = "presets_menu"; - this.presets_menu.Size = new System.Drawing.Size(155, 98); + this.presets_menu.Size = new System.Drawing.Size(155, 126); this.presets_menu.Text = ";"; this.presets_menu.Opening += new System.ComponentModel.CancelEventHandler(this.presets_menu_Opening); // @@ -1127,6 +1173,18 @@ namespace Handbrake this.sep1.Name = "sep1"; this.sep1.Size = new System.Drawing.Size(151, 6); // + // pmnu_import + // + this.pmnu_import.Name = "pmnu_import"; + this.pmnu_import.Size = new System.Drawing.Size(154, 22); + this.pmnu_import.Text = "Import"; + this.pmnu_import.Click += new System.EventHandler(this.pmnu_import_Click); + // + // toolStripSeparator2 + // + this.toolStripSeparator2.Name = "toolStripSeparator2"; + this.toolStripSeparator2.Size = new System.Drawing.Size(151, 6); + // // pmnu_saveChanges // this.pmnu_saveChanges.Name = "pmnu_saveChanges"; @@ -1340,6 +1398,7 @@ namespace Handbrake this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 1; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 29F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(723, 29); this.tableLayoutPanel2.TabIndex = 50; // @@ -1525,18 +1584,15 @@ namespace Handbrake this.flowLayoutPanel1.Size = new System.Drawing.Size(195, 13); this.flowLayoutPanel1.TabIndex = 55; // - // mnu_importMacPreset - // - this.mnu_importMacPreset.Name = "mnu_importMacPreset"; - this.mnu_importMacPreset.Size = new System.Drawing.Size(194, 22); - this.mnu_importMacPreset.Text = "Import"; - this.mnu_importMacPreset.Click += new System.EventHandler(this.mnu_importMacPreset_Click); - // // openPreset // this.openPreset.DefaultExt = "plist"; this.openPreset.Filter = "Plist Files|*.plist"; // + // File_ChapterImport + // + this.File_ChapterImport.Filter = "CSV Files|*.csv"; + // // PictureSettings // this.PictureSettings.BackColor = System.Drawing.Color.Transparent; @@ -1587,8 +1643,9 @@ namespace Handbrake // frmMain // this.AllowDrop = true; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(1000, 582); this.Controls.Add(this.tableLayoutPanel3); this.Controls.Add(this.toolStrip1); @@ -1604,12 +1661,14 @@ namespace Handbrake this.DoubleBuffered = true; this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.MinimumSize = new System.Drawing.Size(775, 480); this.Name = "frmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "HandBrake"; notifyIconMenu.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.data_chpt)).EndInit(); + this.ChaptersMenu.ResumeLayout(false); this.frmMainMenu.ResumeLayout(false); this.frmMainMenu.PerformLayout(); this.tab_audio.ResumeLayout(false); @@ -1777,5 +1836,11 @@ namespace Handbrake private FlowLayoutPanel flowLayoutPanel1; private ToolStripMenuItem mnu_importMacPreset; private OpenFileDialog openPreset; + private Button btn_importChapters; + private OpenFileDialog File_ChapterImport; + private ContextMenuStrip ChaptersMenu; + private ToolStripMenuItem mnu_resetChapters; + private ToolStripMenuItem pmnu_import; + private ToolStripSeparator toolStripSeparator2; } } \ No newline at end of file