C#中,打开openFileDialog后,如何将选中的文件路径显示在一个文本框(textBox)中
摘要:
OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.Filter = "文档(*.doc;*.docx)|*.doc;*.docx"; if (openFileDialog1.ShowDialog() == DialogResult.OK) { if (openFileDialog1.FileName != "") { this.textBox... 阅读全文
posted @ 2013-08-12 17:51 点A点C 阅读(5814) 评论(0) 推荐(0) 编辑