From 39c3f4fc0b7f9499875e445b4c54e5f40f7427e1 Mon Sep 17 00:00:00 2001 From: sr55 Date: Sat, 14 Jul 2007 19:34:17 +0000 Subject: [PATCH] WinGui: - Just a few small changes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@684 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- win/C#/HandBrakeCS.csproj | 1 + win/C#/Properties/Resources.Designer.cs | 7 ++ win/C#/Properties/Resources.resx | 13 ++- win/C#/frmSplashScreen.Designer.cs | 105 +++++++++++++++++++++++- win/C#/frmSplashScreen.cs | 3 + 5 files changed, 123 insertions(+), 6 deletions(-) diff --git a/win/C#/HandBrakeCS.csproj b/win/C#/HandBrakeCS.csproj index 10e4b29d6..9a06ede4f 100644 --- a/win/C#/HandBrakeCS.csproj +++ b/win/C#/HandBrakeCS.csproj @@ -168,6 +168,7 @@ + + @@ -68,9 +69,10 @@ - + + @@ -85,9 +87,10 @@ - + + @@ -114,4 +117,8 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + ..\splash.jpg;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/win/C#/frmSplashScreen.Designer.cs b/win/C#/frmSplashScreen.Designer.cs index 56cfb3a2a..75c53b535 100644 --- a/win/C#/frmSplashScreen.Designer.cs +++ b/win/C#/frmSplashScreen.Designer.cs @@ -29,20 +29,119 @@ namespace Handbrake private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSplashScreen)); + this.productName = new System.Windows.Forms.Label(); + this.cliVersion = new System.Windows.Forms.Label(); + this.guiVerison = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); this.SuspendLayout(); // - // SplashScreen + // productName + // + this.productName.AutoSize = true; + this.productName.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.productName.Location = new System.Drawing.Point(177, 69); + this.productName.Name = "productName"; + this.productName.Size = new System.Drawing.Size(180, 32); + this.productName.TabIndex = 0; + this.productName.Text = "Handbrake"; + // + // cliVersion + // + this.cliVersion.AutoSize = true; + this.cliVersion.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.cliVersion.Location = new System.Drawing.Point(180, 197); + this.cliVersion.Name = "cliVersion"; + this.cliVersion.Size = new System.Drawing.Size(145, 13); + this.cliVersion.TabIndex = 1; + this.cliVersion.Text = "Handbrake CLI Version:"; + // + // guiVerison + // + this.guiVerison.AutoSize = true; + this.guiVerison.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.guiVerison.Location = new System.Drawing.Point(180, 170); + this.guiVerison.Name = "guiVerison"; + this.guiVerison.Size = new System.Drawing.Size(55, 13); + this.guiVerison.TabIndex = 2; + this.guiVerison.Text = "Version:"; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label2.Location = new System.Drawing.Point(331, 197); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(88, 13); + this.label2.TabIndex = 4; + this.label2.Text = "{CLI Version}"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label3.Location = new System.Drawing.Point(331, 170); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(90, 13); + this.label3.TabIndex = 5; + this.label3.Text = "{GUI Version}"; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.Location = new System.Drawing.Point(418, 170); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(43, 13); + this.label1.TabIndex = 6; + this.label1.Text = "(Beta)"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label4.Location = new System.Drawing.Point(418, 197); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(43, 13); + this.label4.TabIndex = 7; + this.label4.Text = "(Beta)"; + // + // frmSplashScreen // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(292, 266); + this.BackColor = System.Drawing.Color.White; + this.BackgroundImage = global::Handbrake.Properties.Resources.splash; + this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.ClientSize = new System.Drawing.Size(496, 276); + this.ControlBox = false; + this.Controls.Add(this.label4); + this.Controls.Add(this.label1); + this.Controls.Add(this.label3); + this.Controls.Add(this.label2); + this.Controls.Add(this.guiVerison); + this.Controls.Add(this.cliVersion); + this.Controls.Add(this.productName); + this.Font = new System.Drawing.Font("Corbel", 8.25F); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); - this.Name = "SplashScreen"; + this.Name = "frmSplashScreen"; this.Text = "SplashScreen"; this.ResumeLayout(false); + this.PerformLayout(); } #endregion + + private System.Windows.Forms.Label productName; + private System.Windows.Forms.Label cliVersion; + private System.Windows.Forms.Label guiVerison; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label1; + private System.Windows.Forms.Label label4; } } \ No newline at end of file diff --git a/win/C#/frmSplashScreen.cs b/win/C#/frmSplashScreen.cs index b0e681251..65ca835b2 100644 --- a/win/C#/frmSplashScreen.cs +++ b/win/C#/frmSplashScreen.cs @@ -5,6 +5,7 @@ using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; +using System.Threading; namespace Handbrake { @@ -14,5 +15,7 @@ namespace Handbrake { InitializeComponent(); } + + } } \ No newline at end of file -- 2.40.0