摘要: private void button1_Click(object sender, EventArgs e) { //文件对话框显示的初始目录 openFileDialog1.InitialDirectory = "c:\\"; //设置过滤条件 openFileDialog1.Filter = "文本文件 (*.txt)|*.txt|All files (*.*)|*.*"; //对话框的返回值为OK时读取数据 if (this.op... 阅读全文
posted @ 2013-04-28 23:10 J_une 阅读(480) 评论(0) 推荐(0) 编辑