diff --git a/mRemoteNG/UI/Forms/FrmSplashScreen.Designer.cs b/mRemoteNG/UI/Forms/FrmSplashScreen.Designer.cs index 080df07d..80dfc41d 100644 --- a/mRemoteNG/UI/Forms/FrmSplashScreen.Designer.cs +++ b/mRemoteNG/UI/Forms/FrmSplashScreen.Designer.cs @@ -28,8 +28,20 @@ /// private void InitializeComponent() { + this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // + // label1 + // + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Transparent; + this.label1.Font = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.label1.ForeColor = System.Drawing.Color.White; + this.label1.Location = new System.Drawing.Point(390, 100); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(0, 17); + this.label1.TabIndex = 0; + // // FrmSplashScreen // this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); @@ -38,8 +50,9 @@ this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.ClientSize = new System.Drawing.Size(450, 120); this.ControlBox = false; + this.Controls.Add(this.label1); this.DoubleBuffered = true; - this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Margin = new System.Windows.Forms.Padding(2); this.MaximizeBox = false; @@ -52,9 +65,12 @@ this.Text = "frmSplashScreen"; this.TopMost = true; this.ResumeLayout(false); + this.PerformLayout(); } #endregion + + private System.Windows.Forms.Label label1; } } \ No newline at end of file diff --git a/mRemoteNG/UI/Forms/FrmSplashScreen.cs b/mRemoteNG/UI/Forms/FrmSplashScreen.cs index 9c53f02f..472fad0d 100644 --- a/mRemoteNG/UI/Forms/FrmSplashScreen.cs +++ b/mRemoteNG/UI/Forms/FrmSplashScreen.cs @@ -1,6 +1,7 @@ using System; using System.Runtime.InteropServices; using System.Windows.Forms; +using mRemoteNG.App.Info; namespace mRemoteNG.UI.Forms { @@ -11,7 +12,7 @@ namespace mRemoteNG.UI.Forms private FrmSplashScreen() { InitializeComponent(); - + label1.Text = $@"v. {GeneralAppInfo.ApplicationVersion}"; Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 20, 20)); } diff --git a/mRemoteNG/UI/Forms/FrmSplashScreen.resx b/mRemoteNG/UI/Forms/FrmSplashScreen.resx index 1af7de15..f298a7be 100644 --- a/mRemoteNG/UI/Forms/FrmSplashScreen.resx +++ b/mRemoteNG/UI/Forms/FrmSplashScreen.resx @@ -1,64 +1,4 @@ - - - +