写就好了
System.Diagnostics.Process.Start(@"file path");
例
System.Diagnostics.Process.Start(@"C:foo.jpg");System.Diagnostics.Process.Start(@"C:foo.doc");System.Diagnostics.Process.Start(@"C:foo.dxf");...
Shell将运行关联的程序,从注册表中读取它,就像通常的双击一样。

写就好了
System.Diagnostics.Process.Start(@"file path");
例
System.Diagnostics.Process.Start(@"C:foo.jpg");System.Diagnostics.Process.Start(@"C:foo.doc");System.Diagnostics.Process.Start(@"C:foo.dxf");...
Shell将运行关联的程序,从注册表中读取它,就像通常的双击一样。