日期:2014-05-17 浏览次数:21740 次
public Test()
{
InitializeComponent();
ProClientName = "..\\..\\..\\..\\Client\\bin\\Debug\\testclient.exe";
ProServerName = "..\\..\\..\\..\\GYJWServer\\bin\\Debug\\GYJWServer.exe";
}
private void btn_staServer_Click(object sender, EventArgs e)
{
try
{
Process.Start(ProServerName);
}
catch (System.Exception)
{
MessageBox.Show("未找到路径!");
}
}