C# winforn下的多线程问题 本帖最后由 xiaopei711 于 2009-12-06 12:18:47 编辑 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Abort方法本来就会在目标线程上引发ThreadAbortException这个异常应该是由.net捕捉处理的,你安装的另一台电脑按装了.NET Framework没有? this.A();this.B();void A(){ //有耗时事件,这里隐藏主窗口 this.Visible=false; //打开等待窗口 this.wf=new WaitForm(); this.wf.show(); //wait handle // ...}//...void B(){ this.Visible=true; this.wf.Dispose();}//class WaitForm{ ProgressBar pb=new ProgressBar(); //构造函数布局省略 protected override void OnLoad(object sender,EventArgs e) { pb.Style=ProgressBarStyle.Marquee }} 请问怎样使richbox的下拉条拉倒最下 发个实现模拟QQ自动隐藏的源码,附带隐藏类(上左右三向均可) 关于DataGridView中的列的排列顺序无法控制问题 用C#生成图片(急啊,帮忙) 求助关于令人费解的WinForm透明色的问题 up者有分:将HtmlTable生成文本文件 如果设置ListView中Header的高度. 帮忙推荐一个好用的C#里面的操作Excel文件的组件。 关于webform的问题 Winform 上显示复杂Excel,以及导出功能 在C#中怎么把一个Excel保存成为一个Html文件? 很急,高人进,mySql数据库定时自动计算,存贮数据表功能
this.B();void A(){
//有耗时事件,这里隐藏主窗口
this.Visible=false;
//打开等待窗口
this.wf=new WaitForm();
this.wf.show();
//wait handle
// ...
}
//...
void B(){
this.Visible=true;
this.wf.Dispose();
}
//class WaitForm{
ProgressBar pb=new ProgressBar();
//构造函数布局省略
protected override void OnLoad(object sender,EventArgs e)
{
pb.Style=ProgressBarStyle.Marquee
}
}