Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Animate the Mainform of your Application

0.00/5 (No votes)
31 Jan 2003 4  
Shows how to change the visual style of the application form with an animation.

Sample Image - screenshot.jpg

Introduction

I wrote this code, because I'm interested in the new .NET functions which are available to change the look of the form of your application. With the region class and different background images you can easy change the look of forms and controls. I found the great Bitmap2Region class from Arild Fines in the Internet, which I must use in an application. The result is this funny walking rabbit form.

How to use this sample ?

Right click on the rabbit to get the context menu. There you can change the moving speed of the rabbit and quit the program.

Precondition

Enable the using of unsafe code for the Visual Studio .NET project.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here