首页 > 其他 > 详细

DevExpress 进度

时间:2015-03-17 19:48:58      阅读:466      评论:0      收藏:0      [点我收藏+]

1、使用了DevExpress的WaitDialogForm

1  WaitDialogForm waitDialogForm = null;
2             new Thread((ThreadStart)delegate
3             {
4                 waitDialogForm = new WaitDialogForm("请稍后...", "正在加载系统应用",new Size(300,40),this);
5                 Application.Run(waitDialogForm);
6             }).Start();
7             //TODO:
8             waitDialogForm.Invoke((EventHandler)delegate { waitDialogForm.Close(); });

技术分享

2、splashScreenManager

首先添加splashScreenManager组件->右上角小三角->点击“Add Waiting Form”->将Active Splash Form设置为刚刚设置的窗体

在需要设置进度的地方添加:

1  private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
2         {
3             splashScreenManager2.ShowWaitForm();
4             splashScreenManager2.SetWaitFormCaption("演示");
5             splashScreenManager2.SetWaitFormDescription("描述信息");
6             //TODO:
7             splashScreenManager2.CloseWaitForm();
8         }

效果如下:

技术分享

如果需要启动界面:首先添加splashScreenManager组件->右上角小三角->点击“Add SplashScreen”->将Active Splash Form设置为刚刚设置的窗体;其他步骤一样;

3、progressPanel

技术分享

4、progressBarControl

技术分享

5、marqueeProgressBarControl

技术分享

DevExpress 进度

原文:http://www.cnblogs.com/QQ931697811/p/4345148.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!