:::: MENU ::::

Create Transparent animated start using winform

Sometime we want to create a irregular shape from winform which is rectangle or square by default.
So i am telling you here how can you convert a Form into animated Start. you can see the output at bottom.Every winform object holds TransparencyKey  property which is used to make any color transparent on the form.So if i set the transparency Key to white Color at same time set the back ground color of the form to white then whole form will disappear. Now if i draw star on the form using blue color then i will see only the blue start on the form.
lets try the below code to see it in action.

here is the output.

start a

Please follow and like us:

So, what do you think ?