调用水晶报表时,等待时间较长,怎么做进度条?? 如题。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 刚才测试到了一个方法。好像可行哦。。水晶报表打开的时候进度条马上到100了。。 private void timer1_Tick(object sender, EventArgs e) { Form1 frm = new Form1(); if (this.progressBar1.Value < 100) { this.progressBar1.Value++; if (frm.Enabled==true) { this.timer1.Enabled = false; this.progressBar1.Value = 100; } } } 主线程开启一个新的线程,并等待这个线程完成了在继续,怎么做? 能否根据条件修改DataTbale中的列值 C#中的全局变量,应该如何声明? 函数问题,请大家指点一下.里面有我自己写的一段代码,但是不知道错在那里. 打开数据库问题 C#里如何启动一个进程? 请问哪位有photoshop cs sdk 怎么样做出不规则形状的按钮. WPF,Blend如何打开3D绘图文件? 新手请问大家一个问题,关于文件的问题 做个应用程序,打开就播放D盘根目录的一首歌,却出现错误 线程池的应用程序只有一个线程吗
水晶报表打开的时候进度条马上到100了。。
private void timer1_Tick(object sender, EventArgs e)
{
Form1 frm = new Form1();
if (this.progressBar1.Value < 100)
{
this.progressBar1.Value++;
if (frm.Enabled==true)
{
this.timer1.Enabled = false;
this.progressBar1.Value = 100;
}
}
}