Splash-screen with alpha channels transparency/opa

2019-02-27 01:12发布

问题:

How to implement a splash-screen using an image with alpha channels transparency/opacity in WinForms?

回答1:

Take a look at Per Pixel Alpha Blend in C#



回答2:

Depends on what kind of shape your image is. Is it something you can draw using code? If so you could set the forms draw region to a shape, like this:

yourForm.Region = new Region(someShape);

The shape can for example be a polygon with the same shape as your image.