翻转效果和Winforms

翻转效果和Winforms

本文介绍了滑动,翻转效果和Winforms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿代码项目,

我正在尝试使用Winforrms添加的翻转或滑动效果.
因此,一种效果是,第一种形式从图片中推出,第二种形式同时被推入图片中.
经过一些研究,我发现使用Winforms进行翻转效果不可行.

我已经尝试了以下操作:
1. Windows主机上的Wpf申请表
-> Windows Form主机不支持动画
2.增加或减少表格的宽度或位置
2.1带计时器/一个do while循环
->移动时表格闪烁
3.与表单的屏幕截图相同
-闪烁>再次移动屏幕截图
4. AnimateWindow函数(API)
->使用此API,您将无法隐藏显示相同窗口和另一个显示窗口的窗口

附加信息:
我们使用C#和Visual Studio 2010(dotnet Framework 4.0)
我们使用第三方控件(Telerik)
在我的表单上有一些自定义控件(Telerik高级控件)
我到处都把double buffer设置为True.
你有什么想法或建议,我可以如何锤击液体幻灯片效果?
MFG Viktor

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

推荐答案


这篇关于滑动,翻转效果和Winforms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-14 02:45