摘要: http://msdn.microsoft.com/zh-cn/library/aa287548(v=vs.71).aspx 阅读全文
posted @ 2013-06-01 16:34 宁静.致远 阅读(285) 评论(0) 推荐(0) 编辑
摘要: // 获取文件夹绝对路径 显示在 txtbox 控件里System.Windows.Forms.FolderBrowserDialog folder = new System.Windows.Forms.FolderBrowserDialog();if (folder.ShowDialog() == DialogResult.OK){ this.txtboxPath.Text = folder.SelectedPath; }// 获取文件和路径名 一起显示在 txtbox 控件里OpenFileDialog dialog = new OpenFileDialog();if (d... 阅读全文
posted @ 2013-06-01 16:32 宁静.致远 阅读(34498) 评论(0) 推荐(1) 编辑