X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=win%2FC%23%2FfrmPreview.Designer.cs;h=bd3f7201b2ef02f5d2eeb505490716c7cbeda825;hb=84278065e1b8cdc0efbfb1e29178a9daa62f9b43;hp=5fb9b2b80dd4fdf65ef770b1e570972c050eb64f;hpb=7683ab9fe7ff7df6efccc43bf68ee7a7b682359f;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/win/C#/frmPreview.Designer.cs b/win/C#/frmPreview.Designer.cs index 5fb9b2b8..bd3f7201 100644 --- a/win/C#/frmPreview.Designer.cs +++ b/win/C#/frmPreview.Designer.cs @@ -13,9 +13,12 @@ /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { - if (disposing && (components != null)) + if (disposing) { - components.Dispose(); + if (components != null) + { + components.Dispose(); + } } base.Dispose(disposing); } @@ -34,13 +37,14 @@ this.cb_preview = new System.Windows.Forms.ToolStripComboBox(); this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel(); this.cb_duration = new System.Windows.Forms.ToolStripComboBox(); - this.btn_encode = new System.Windows.Forms.ToolStripButton(); - this.statusStrip = new System.Windows.Forms.StatusStrip(); + this.btn_playQT = new System.Windows.Forms.ToolStripButton(); + this.btn_playVLC = new System.Windows.Forms.ToolStripButton(); this.QTControl = new AxQTOControlLib.AxQTControl(); - this.lbl_encode = new System.Windows.Forms.ToolStripStatusLabel(); + this.panel1 = new System.Windows.Forms.Panel(); + this.lbl_status = new System.Windows.Forms.Label(); this.toolBar.SuspendLayout(); - this.statusStrip.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.QTControl)).BeginInit(); + this.panel1.SuspendLayout(); this.SuspendLayout(); // // toolBar @@ -51,11 +55,12 @@ this.cb_preview, this.toolStripLabel2, this.cb_duration, - this.btn_encode}); + this.btn_playQT, + this.btn_playVLC}); this.toolBar.Location = new System.Drawing.Point(0, 0); this.toolBar.Name = "toolBar"; - this.toolBar.RenderMode = System.Windows.Forms.ToolStripRenderMode.System; - this.toolBar.Size = new System.Drawing.Size(774, 39); + this.toolBar.RenderMode = System.Windows.Forms.ToolStripRenderMode.Professional; + this.toolBar.Size = new System.Drawing.Size(772, 25); this.toolBar.TabIndex = 37; this.toolBar.Text = "toolStrip1"; // @@ -63,7 +68,7 @@ // this.lbl_preview.BackColor = System.Drawing.Color.Transparent; this.lbl_preview.Name = "lbl_preview"; - this.lbl_preview.Size = new System.Drawing.Size(89, 36); + this.lbl_preview.Size = new System.Drawing.Size(89, 22); this.lbl_preview.Text = "Start at Preview:"; // // cb_preview @@ -71,6 +76,7 @@ this.cb_preview.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_preview.DropDownWidth = 75; this.cb_preview.FlatStyle = System.Windows.Forms.FlatStyle.Standard; + this.cb_preview.Font = new System.Drawing.Font("Tahoma", 9F); this.cb_preview.Items.AddRange(new object[] { "1", "2", @@ -83,13 +89,13 @@ "9", "10"}); this.cb_preview.Name = "cb_preview"; - this.cb_preview.Size = new System.Drawing.Size(75, 39); + this.cb_preview.Size = new System.Drawing.Size(75, 25); // // toolStripLabel2 // this.toolStripLabel2.BackColor = System.Drawing.Color.Transparent; this.toolStripLabel2.Name = "toolStripLabel2"; - this.toolStripLabel2.Size = new System.Drawing.Size(98, 36); + this.toolStripLabel2.Size = new System.Drawing.Size(98, 22); this.toolStripLabel2.Text = "Duration (seconds)"; // // cb_duration @@ -97,6 +103,7 @@ this.cb_duration.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cb_duration.DropDownWidth = 75; this.cb_duration.FlatStyle = System.Windows.Forms.FlatStyle.Standard; + this.cb_duration.Font = new System.Drawing.Font("Tahoma", 9F); this.cb_duration.Items.AddRange(new object[] { "5", "10", @@ -112,54 +119,69 @@ "60"}); this.cb_duration.Margin = new System.Windows.Forms.Padding(0); this.cb_duration.Name = "cb_duration"; - this.cb_duration.Size = new System.Drawing.Size(75, 39); + this.cb_duration.Size = new System.Drawing.Size(75, 25); // - // btn_encode + // btn_playQT // - this.btn_encode.Image = global::Handbrake.Properties.Resources.Play; - this.btn_encode.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; - this.btn_encode.ImageTransparentColor = System.Drawing.Color.Magenta; - this.btn_encode.Name = "btn_encode"; - this.btn_encode.Size = new System.Drawing.Size(159, 36); - this.btn_encode.Text = "Encode and Play Sample"; - this.btn_encode.Click += new System.EventHandler(this.btn_encode_Click); + this.btn_playQT.Image = global::Handbrake.Properties.Resources.Play_small; + this.btn_playQT.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.btn_playQT.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btn_playQT.Name = "btn_playQT"; + this.btn_playQT.Size = new System.Drawing.Size(89, 22); + this.btn_playQT.Text = "Play with QT"; + this.btn_playQT.Click += new System.EventHandler(this.btn_playQT_Click); // - // statusStrip + // btn_playVLC // - this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.lbl_encode}); - this.statusStrip.Location = new System.Drawing.Point(0, 486); - this.statusStrip.Name = "statusStrip"; - this.statusStrip.Size = new System.Drawing.Size(774, 22); - this.statusStrip.TabIndex = 38; - this.statusStrip.Text = "statusStrip1"; + this.btn_playVLC.Image = global::Handbrake.Properties.Resources.Play_small; + this.btn_playVLC.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; + this.btn_playVLC.ImageTransparentColor = System.Drawing.Color.Magenta; + this.btn_playVLC.Name = "btn_playVLC"; + this.btn_playVLC.Size = new System.Drawing.Size(93, 22); + this.btn_playVLC.Text = "Play with VLC"; + this.btn_playVLC.Click += new System.EventHandler(this.btn_playVLC_Click); // // QTControl // this.QTControl.Enabled = true; - this.QTControl.Location = new System.Drawing.Point(0, 42); + this.QTControl.Location = new System.Drawing.Point(0, 0); this.QTControl.Name = "QTControl"; this.QTControl.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("QTControl.OcxState"))); - this.QTControl.Size = new System.Drawing.Size(64, 64); + this.QTControl.Size = new System.Drawing.Size(64, 72); this.QTControl.TabIndex = 39; this.QTControl.Visible = false; // - // lbl_encode - // - this.lbl_encode.BackColor = System.Drawing.Color.Transparent; - this.lbl_encode.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lbl_encode.Name = "lbl_encode"; - this.lbl_encode.Size = new System.Drawing.Size(31, 17); - this.lbl_encode.Text = "{0}"; + // panel1 + // + this.panel1.Controls.Add(this.lbl_status); + this.panel1.Controls.Add(this.QTControl); + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 25); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(772, 481); + this.panel1.TabIndex = 40; + // + // lbl_status + // + this.lbl_status.AutoSize = true; + this.lbl_status.BackColor = System.Drawing.Color.Transparent; + this.lbl_status.Dock = System.Windows.Forms.DockStyle.Top; + this.lbl_status.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.lbl_status.ForeColor = System.Drawing.Color.White; + this.lbl_status.Location = new System.Drawing.Point(0, 0); + this.lbl_status.Name = "lbl_status"; + this.lbl_status.Size = new System.Drawing.Size(51, 25); + this.lbl_status.TabIndex = 40; + this.lbl_status.Text = "{0}"; + this.lbl_status.Visible = false; // // frmPreview // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.Black; - this.ClientSize = new System.Drawing.Size(774, 508); - this.Controls.Add(this.QTControl); - this.Controls.Add(this.statusStrip); + this.ClientSize = new System.Drawing.Size(772, 506); + this.Controls.Add(this.panel1); this.Controls.Add(this.toolBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmPreview"; @@ -168,9 +190,9 @@ this.TopMost = true; this.toolBar.ResumeLayout(false); this.toolBar.PerformLayout(); - this.statusStrip.ResumeLayout(false); - this.statusStrip.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.QTControl)).EndInit(); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -179,13 +201,14 @@ #endregion private System.Windows.Forms.ToolStrip toolBar; - private System.Windows.Forms.ToolStripButton btn_encode; - private System.Windows.Forms.StatusStrip statusStrip; + private System.Windows.Forms.ToolStripButton btn_playQT; private AxQTOControlLib.AxQTControl QTControl; private System.Windows.Forms.ToolStripComboBox cb_preview; private System.Windows.Forms.ToolStripLabel lbl_preview; private System.Windows.Forms.ToolStripLabel toolStripLabel2; private System.Windows.Forms.ToolStripComboBox cb_duration; - private System.Windows.Forms.ToolStripStatusLabel lbl_encode; + private System.Windows.Forms.ToolStripButton btn_playVLC; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label lbl_status; } } \ No newline at end of file