第1。为什么弹出的进度条窗体不是模式窗体,就是说主窗体还可以操作。怎么样才能把它变成模式窗体
--------------------
try:
Form2 ft= new Form2();
ft.Show(this);
2、
private Form2 ft;
private void LoadFrm()
{
ft= new Form2();
ft.Show(this);
}
private void btnSave_Click(object sender, System.EventArgs e)
{
....
ft.Close();
}
--------------------
try:
Form2 ft= new Form2();
ft.Show(this);
2、
private Form2 ft;
private void LoadFrm()
{
ft= new Form2();
ft.Show(this);
}
private void btnSave_Click(object sender, System.EventArgs e)
{
....
ft.Close();
}
解决方案 »
- C# richtextbox中重写键盘事件光标问题。
- 两种参数传递方式在接收时,一个可以接受另一个不行为什么?
- 如何转换Timer控件timer1.Interval=1000为1分钟
- c#操作注册表的问题~~~~
- C#中加入XML的问题
- 一个简单的c#删除问题。
- 请问如何单独设置listview某一行的高度变小???
- 用批复日期>= #"+dt1.Value.ToShortDateString ()+"# and 批复日期<= #"+ dt2.Value.ToShortDateString () +"# 查询Access数据库,为什么
- 请教用程序实现,某个网卡的本地连接属性页中ipv6协议勾选或者不勾选的方法。
- 求助:FileUpLoad上传文件到服务器的数据库,读取文件路径出错
- 求助~~ C# 通过MDW组 连接access (新的问题) 30分~~~
- 求正则表达式
{
UserInfoMode us= new UserInfoMode();
Thread th = us.StartFrm();
string v=null;
for (int i=0 ;i<10000000;i++)
{
v=i.ToString();
}
MessageBox.Show("测试完成!","系统提示",MessageBoxButtons.OK,MessageBoxIcon.Information); th.Abort();
} //弹出进度条窗体
public Thread StartFrm()
{
Thread th = new Thread(new ThreadStart(LoadFrm));
th.Start();
return th;
}
private void LoadFrm()
{
Form2 ft= new Form2();
ft.ShowDialog(this);
}