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

问题描述

在C#Windows窗体应用程序中。我有一个启动屏幕,其中后台发生了一些多线程进程。我想做的是,当我最初显示启动屏幕时,我希望它看起来像是淡入。然后,一旦所有过程完成,我希望它看起来好像启动屏幕正在淡出。我正在使用C#和.NET 2.0。谢谢。

In a C# windows forms application. I have a splash screen with some multi-threaded processes happening in the background. What I would like to do is when I display the splash screen initially, I would like to have it appear to "fade in". And then, once all the processes finish, I would like it to appear as though the splash screen is "fading out". I'm using C# and .NET 2.0. Thanks.

推荐答案

您可以使用计时器修改。

You could use a timer to modify the Form.Opacity level.

这篇关于淡入和淡出启动画面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 00:17