Welcome to Dream.In.Code
Getting C# Help is Easy!

Join 109,543 C# Programmers for FREE! Ask your question and get quick answers from experts. There are 1,183 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Closin form

 
Reply to this topicStart new topic

Closin form

king of loop
post 7 Aug, 2008 - 02:39 AM
Post #1


New D.I.C Head

*
Joined: 15 Jun, 2008
Posts: 8

hi
I use the class (AnimateClass) for opening animated form in my project and the code is:


CODE

            int flags = AnimateClass.AW_ACTIVATE | AnimateClass.AW_BLEND;
            int flags = AnimateClass.AW_ACTIVATE | AnimateClass.AW_VER_POSITIVE;
            int duration = 5000;
            Form2 f = new Form2(duration, flags);
            f.Show();


this code works with different variants that can be found in class without any problems ,what I wish to do now is for the form to close the same way it opens (not just shut down). for example ( if form opens from right to left "slides) when opening Than it should close"slide" from left to right)

Would appreciate any help you can offer tyvm

This post has been edited by king of loop: 7 Aug, 2008 - 02:40 AM
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 9/7/08 09:57PM

Live C# Help!

C# Tutorials

Reference Sheets

C# Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month