显示控件的加载状态 [英] Show loading state for a control
本文介绍了显示控件的加载状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人建议使用一种方法来装饰任何用户控件以表明其状态为忙"吗?我在考虑的不仅仅是简单地更改游标.
Does anyone have a suggestion for a method that can be used to decorate any user control to suggest it''s state is ''busy''? I''m thinking of something more than simply changing the cursor.
推荐答案
如果是ASP.NET,请看一下本文:
具有Designer支持的Web应用程序的可自定义加载"控件 [ Progress-O-Doom [ C#中的漂亮启动画面 [ .NET进度对话框 [
If it is ASP.NET, then look at this article:
Customizable ''Loading'' Control for Web Applications with Designer Support[^]
UPDATE 1:
Well, If it''s Winforms, have a look at this control:
Progress-O-Doom[^]
A Pretty Good Splash Screen in C#[^]
A .NET Progress Dialog[^]
为什么不禁用它,或者将背景更改为荧光粉.它是您的用户控件,您可以使用它进行任何操作:-D
快乐编码
Why not just disable it, or change the background to flourescent pink. It''s your user control, you can do anything you want with it :-D
Happy Coding
这篇关于显示控件的加载状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文