Richard Holmes Richard Holmes - 1 year ago 144
C# Question

How to create a game launcher with no borders?

What is a good way to create a game launcher with no borders and has a transparent background like that of Guild Wars 2?

Guild Wars 2 example:

Even though it doesn't look like it has a background, it is kinda clear in this next image.

Which programming language should I use to be able to do that? Is this possible in C#? If so, which tools in C# should I use?

Answer Source

That could be done with a Splashscreen. A splashscreen provides a startup screen for a Windows Presentation Foundation (WPF) application. You can use it to show an image in a startup window, or splash screen, when a WPF application starts.

The SplashScreen class can display any image format that is supported by the Windows Imaging Component (WIC). For example, you can use the BMP, GIF, JPEG, PNG, or TIFF format. If the image is a PNG file and it includes an alpha channel, the image is rendered using the transparency defined in the alpha channel.

SplashScreen splashScreen = new SplashScreen("SplashScreenImage.bmp");

From msdn:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download