Profile Picture

Splash Screen

Posted By Pawel Pietrzak 6 Years Ago
Author
Message
Pawel Pietrzak
Question Posted 6 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)Forum Newbie (0 reputation)

Group: Forum Members
Last Active: 6 Years Ago
Posts: 4, Visits: 40
Hi,
I'm using NLayeredWindow as Splash Screen in my app.
Earlier I had always Image with a background (GIF files), now I got new issue: create Splash with transparent background (GIF is with transparency background). I founded properties for NLayeredWindow -> "Splashwindow.Transparent = true;" But this doesn't work for me...
Is it possible to do it?

The code which I'm using below:

System.Drawing.Bitmap bmp = Properties.Resources.Splash;
SplashWindow = new Nevron.UI.WinForm.Controls.NLayeredWindow();
Splashwindow.Moveable = false;
Splashwindow.BackgroundImage = bmp as System.Drawing.Image;
System.Drawing.Point centerLocation = Nevron.UI.NUISystem.GetCenterLocation(System.Windows.Forms.Screen.PrimaryScreen.Bounds, Splashwindow.BackgroundImage.Size);
Splashwindow.ShowWindow(centerLocation);

Best regards,
Pawel




Similar Topics


Reading This Topic