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(); });

DevExpress 显示进度条

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         }

效果如下:

DevExpress 显示进度条

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

3、progressPanel

DevExpress 显示进度条

4、progressBarControl

DevExpress 显示进度条

5、marqueeProgressBarControl

DevExpress 显示进度条

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-14
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2021-11-22
  • 2021-11-04
  • 2021-08-19
相关资源
相似解决方案