Click here to Skip to main content
15,894,343 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hey Code Project,

I am trying to Flipping or Sliding Effect added with Winforrms.
So one effect, in which the first form is pushed out of the picture and a second is simultaneously pushed into it.
After some research I found out that the flipping effect with Winforms is not feasible.

I've already tried the following things:
1. Wpf Application Form with Windows Host
-> Windows Form host does not support animation
2. Increase or decrease the width of the Forms or the location
2.1 with Timer / a Do while loop
-> the form flickers when moving
3. The same with screenshots of the Forms
- flicker> again move in the screenshots
4. AnimateWindow Function (API)
-> With this API, you can not hide a window showing the same and the other display

Additional Information:
We use C # and Visual Studio 2010 (dotnet Framework 4.0)
We use 3rd party controls (Telerik)
On my form are some custom controls (Telerik Advanced Controls)
I've been everywhere double buffer set to True.
Have you got an idea or suggestions how I can hammer out a liquid Slide Effect?
MFG Viktor
Posted
Updated 2-May-11 3:36am
v3
Comments
Tarun.K.S 2-May-11 9:37am    
Edit: Translated German to English.
o1010wanabe 3-May-11 19:27pm    
While I am sure I am not in youre league, I will say that I found the use of xaml visual in the spinning 3D panel of this example
http://msdn.microsoft.com/en-us/library/ms771505(v=VS.90).aspx very interesting and it gave me some cool Ideas that may be useful to you.
Wickedsquall 6-May-11 4:05am    
Thank you for the replies.

the Requirements have changes a little:

The sliding has to be in the Form.

This is relative easy, by changing the Control.left value.

Alternative to that I try to insert a Custom WPF Control in the Winform witch moves 2 Screenshots with an Animation.

I'll update you

1 solution

Hey,

Here our final solution:

We decided to bring this issue to a third party who has more experience with graphics.

The best solution with our knowledge moving Pictureboxs with Screenshots and an Timer.

Regards
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900