Chnaged splash screen form to display correctly on a high DPI device

This commit is contained in:
Faryan Rezagholi
2018-12-21 18:19:13 +01:00
parent 5221907ef8
commit 08191278d7

View File

@@ -32,10 +32,10 @@
//
// FrmSplashScreen
//
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.BackgroundImage = global::mRemoteNG.Resources.Logo;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.ClientSize = new System.Drawing.Size(492, 128);
this.ControlBox = false;
this.DoubleBuffered = true;