创建动画闪屏像2010处 [英] Creating an animated splash screen like office 2010
问题描述
我怎样才能创建一个动画闪屏一样使用C#?
How can I create an animated splash screen like the one in Office 2010 using C#?
推荐答案
这是有关的WinForms问题之一在Office 2010 ?或WPF
Is this question about winforms or wpf?
如果它是关于WPF:
这是动画开机画面是不是比一个WPF窗口显示了更而你的主窗口正在加载。由wischi解释你可以用Expression Blend中设计这个启动画面。
An animated splash screen is not more than a wpf window showing while your "Main Window" is loading. You can design this splash window with Expression Blend as explained by wischi.
您也可以看看这个的代码项目。
You can also have a look at this code project.
For creating some kind of a loading animation: A Simple WPF Loading Animation
只要创建一个窗口,在XAML中定义的动画,并显示它,而你的加载应用程序 - >动画闪屏。
Just create a window with an animation defined in xaml and show it while your application is loading -> animated splash screen.
在的WinForms:
In Winforms:
您可能必须替换形式的paint方法来创建一个动画。但它仍然显示其中包含动画,而另一个窗口加载另一个窗口。
You may have to override the paint method of a form to create an animation. But it's still showing another window which contains an animation while another window is loading.
这篇关于创建动画闪屏像2010处的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!