代码如下:
System.Diagnostics.Process process = new System.Diagnostics.Process(); process.StartInfo.FileName = "D:\1.jpg"; process.StartInfo.Arguments = "rundll32.exe C://WINDOWS//system32//shimgvw.dll"; process.StartInfo.UseShellExecute = true; process.Start();