/// <summary> /// 用户执行下载功能 /// </summary> public static void Download(FileTreeNode file) { SaveFileDialog dia = new SaveFileDialog(); dia.Filter = "*.*|*.*"; DialogResult dr = dia.ShowDialog(); if (dr == DialogResult.OK) { BLLControl.DownloadFile(dia.FileName, file); } }