Click here to Skip to main content
Licence 
First Posted 31 Jan 2003
Views 123,331
Bookmarked 68 times

Animate the Mainform of your Application

By | 31 Jan 2003 | Article
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

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. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionLicense? Pinmembercgordon_134:02 1 Mar '12  
Generalseperate source and exe Pinmemberpraveenqwe1:57 9 May '06  
Generalnice work go on PinmemberTaha Zayed15:23 24 Sep '04  
QuestionMemory leaks??? Pinmembertrissanen@hotmail.com18:49 10 May '04  
AnswerEh? PinmemberThe_Mega_ZZTer2:18 3 Oct '05  
Generalalpha blending PinmemberRob Tomson21:03 22 Feb '04  
GeneralThis is great PinmemberAgent 8620:49 2 Jan '04  
GeneralRe: This is great PinmemberMarc Schneider2:10 3 Jan '04  
GeneralLayeredWindows PinmemberRoger J22:27 3 Feb '03  
GeneralRe: LayeredWindows PinmemberMarc Schneider23:38 3 Feb '03  
GeneralRe: LayeredWindows Pinmemberbloodyduke6:02 7 Sep '03  
GeneralRe: LayeredWindows PinmemberThe_Mega_ZZTer2:19 3 Oct '05  
GeneralThat was Fun! PinmemberRocky Moore0:38 2 Feb '03  
GeneralRe: That was Fun! PinmemberMarc Schneider23:40 3 Feb '03  
QuestionDo you know how to control Gif Animation in Label Class ? PinmemberJerry Maguire8:25 1 Feb '03  
AnswerRe: Do you know how to control Gif Animation in Label Class ? PinmemberMarc Schneider9:32 1 Feb '03  
GeneralRe: Do you know how to control Gif Animation in Label Class ? PinmemberJerry Maguire9:42 1 Feb '03  

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
Web04 | 2.5.120517.1 | Last Updated 1 Feb 2003
Article Copyright 2003 by Marc Schneider
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid