Click here to Skip to main content
Click here to Skip to main content

Animate the Mainform of your Application

By , 31 Jan 2003
 

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

About the Author

Marc Schneider
Web Developer
Germany Germany
Member
I'm currently working as a Computer Science Engineer for a german company which develops gambling machines. I program with VC++ 5.0 + OpenGL ! Privately I'm learning C# and ASP.NET !
 

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
QuestionLicense? Pinmembercgordon_131 Mar '12 - 4:02 
Generalseperate source and exe Pinmemberpraveenqwe9 May '06 - 1:57 
Generalnice work go on PinmemberTaha Zayed24 Sep '04 - 15:23 
QuestionMemory leaks??? Pinmembertrissanen@hotmail.com10 May '04 - 18:49 
AnswerEh? PinmemberThe_Mega_ZZTer3 Oct '05 - 2:18 
Generalalpha blending PinmemberRob Tomson22 Feb '04 - 21:03 
GeneralThis is great PinmemberAgent 862 Jan '04 - 20:49 
GeneralRe: This is great PinmemberMarc Schneider3 Jan '04 - 2:10 
GeneralLayeredWindows PinmemberRoger J3 Feb '03 - 22:27 
GeneralRe: LayeredWindows PinmemberMarc Schneider3 Feb '03 - 23:38 
GeneralRe: LayeredWindows Pinmemberbloodyduke7 Sep '03 - 6:02 
GeneralRe: LayeredWindows PinmemberThe_Mega_ZZTer3 Oct '05 - 2:19 
GeneralThat was Fun! PinmemberRocky Moore2 Feb '03 - 0:38 
GeneralRe: That was Fun! PinmemberMarc Schneider3 Feb '03 - 23:40 
QuestionDo you know how to control Gif Animation in Label Class ? PinmemberJerry Maguire1 Feb '03 - 8:25 
AnswerRe: Do you know how to control Gif Animation in Label Class ? PinmemberMarc Schneider1 Feb '03 - 9:32 
GeneralRe: Do you know how to control Gif Animation in Label Class ? PinmemberJerry Maguire1 Feb '03 - 9:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 1 Feb 2003
Article Copyright 2003 by Marc Schneider
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid