/// <summary>
/// 浏览文件
/// </summary>
/// <returns> 返回选定的文件名 </returns>
private string BrowseFile()
{
OpenFileDialog filedlg = new OpenFileDialog();
filedlg.Filter = "所有文件 (*.*)|*.*" ;
if (filedlg.ShowDialog() == DialogResult .OK)
{
return filedlg.FileName;
}
return string .Empty;
}