c#打开指定路径的对话框

如题所述

第1个回答  推荐于2016-11-25
OpenFileDialog ofd = new OpenFileDialog();
if(ofd.ShowDialog == DialogResult.Ok)
{
string path = odf.FileName;
}本回答被提问者采纳
相似回答
大家正在搜