c#_按钮打开选择文件的提示框

this.openFileDialog1.Filter = "*.*";
if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
{
string FileName = this.openFileDialog1.FileName;
// 你的bai 处理du文件路径zhi代码dao
}

posted @ 2020-09-16 14:36  AetlySaber  阅读(182)  评论(0)    收藏  举报