fixed transparency of splash screen
This commit is contained in:
1 parent
848f5b62aa
commit
54a9856626
1 file changed
+5
-1
+5
-1
@@ -141,7 +141,7 @@ namespace Vocaluxe
|
||||
CLog.StopBenchmark(0, "Init Game");
|
||||
|
||||
Application.DoEvents();
|
||||
|
||||
System.Threading.Thread.Sleep(10000);
|
||||
// Start Main Loop
|
||||
_SplashScreen.Close();
|
||||
CDraw.MainLoop();
|
||||
@@ -193,6 +193,7 @@ namespace Vocaluxe
|
||||
class SplashScreen : Form
|
||||
{
|
||||
Bitmap logo;
|
||||
Timer UpdateTimer;
|
||||
|
||||
public SplashScreen()
|
||||
{
|
||||
@@ -228,6 +229,9 @@ namespace Vocaluxe
|
||||
else
|
||||
CLog.LogError("Can't find " + path);
|
||||
|
||||
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
|
||||
this.BackColor = Color.Transparent;
|
||||
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
this.Text = CSettings.sProgramName;
|
||||
this.CenterToScreen();
|
||||
|
||||
Reference in new issue
Block a user