wpf自动选择程序打开文件
2022-06-20 本文已影响0人
价值投机168
string path="hello.txt";
ProcessStartInfo startInfo = new ProcessStartInfo(path);
startInfo.UseShellExecute = true;
Process.Start(startInfo);
string path="hello.txt";
ProcessStartInfo startInfo = new ProcessStartInfo(path);
startInfo.UseShellExecute = true;
Process.Start(startInfo);