C# 的 OpenFileDialog 的筆記
讀取單個檔案路徑
private void button_RePath_Click(object sender, EventArgs e)
{
string ConstString_Path = "";
OpenFileDialog dialog = new OpenFileDialog();
dialog.Multiselect = false;
if (dialog.ShowDialog() == System.Windows.Forms.DialogResult.OK)
{
ConstString_Path = dialog.FileName;
}
}

測試結果
