(十万火急) c# DialogShow 失效了
这是我里面的代码段SaveFileDialog sfd = new SaveFileDialog();
...
sfd.DialogShow();//尽管调用了这句 但对话框就是没出来 页面就卡在这边
不知道问题出在哪里
我的开发环境是:Windows7 + VS2008IDE + .net2.0
敬请牛人出面相助啊! --------------------编程问答-------------------- 貌似是sfd.ShowDialog()吧?
一般都这样用
if(save.ShowDialog() == DialogResult.OK)
{
xxxx
} --------------------编程问答-------------------- 是showmodaldialog吧? --------------------编程问答-------------------- 常用方法就是不行啊 不知道是哪里出问题了 --------------------编程问答--------------------
--------------------编程问答-------------------- 你方法用错了,是ShowDialog --------------------编程问答-------------------- 写错也能编译,厉害
SaveFileDialog sfd = new SaveFileDialog();
sfd.ShowDialog();
补充:.NET技术 , ASP.NET