Splash Screen


Author
Message
Pawel Pietrzak
Pawel Pietrzak
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
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
Nevron Support
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
Hi Pawel,

If your gif image has transparent background it should be displayed as it is regardless of the Transparent property.
Please, make sure that the image has transparent background.
Just for the check you can try with some of your old images to make sure that the problem is in the image.

Please, let us know if the problem persist.

Best Regards,
Nevron Support Team


Pawel Pietrzak
Pawel Pietrzak
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
Posts: 4, Visits: 40
Hi, I did find the solution. I used:
this.TransparencyKey = (BackColor);

Br,
Pawel
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic
1 active, 1 guest, 0 members, 0 anonymous
No members currently viewing this topic!

Login

Explore
Messages
Mentions
Search