using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO; using System.Runtime.InteropServices; using System.Security; using System.Diagnostics; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click_1(object sender, EventArgs e) { Process.Start("TTPlayer.exe"); } } }
你要是想启动什么应用程序,只需在Process.Start("")中填上程序的名字即可
今天看到一个C#写的启动windows应用程序的功能,感觉很好
最新推荐文章于 2024-08-21 10:15:52 发布