Winform 打开下载的文件
private void OpenFile(string filename) { ProcessStartInfo sInfo = new ProcessStartInfo(); sInfo.WindowStyle = ProcessWindowStyle.Maximized; ThreadPool.QueueUserWorkItem( delegate(object o){ Process p=System.Diagnostics.Process.Start(filename);}); }
打开时使用独立线程,以使打开的文件顶层显示