您的位置:首页 > 编程语言 > C#

今天看到一个C#写的启动windows应用程序的功能,感觉很好

2008-07-27 20:48 393 查看
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("")中填上程序的名字即可
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐