示例#1
0
文件: MForm.cs 项目: windrobin/kumpro
 private void llNeedRestart2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) {
     using (RunCmdForm form = new RunCmdForm("NET.exe STOP " + cbSQLServers.Text + " " + "\r\n" + "NET.exe START " + cbSQLServers.Text + " " + "\r\n" + "PAUSE")) {
         form.ShowDialog(this);
     }
 }
示例#2
0
文件: MForm.cs 项目: windrobin/kumpro
 private void llNeedRestart2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     using (RunCmdForm form = new RunCmdForm("NET.exe STOP " + cbSQLServers.Text + " " + "\r\n" + "NET.exe START " + cbSQLServers.Text + " " + "\r\n" + "PAUSE")) {
         form.ShowDialog(this);
     }
 }
示例#3
0
文件: MForm.cs 项目: windrobin/kumpro
 private void bStartSqlNorm_Click(object sender, EventArgs e) {
     using (RunCmdForm form = new RunCmdForm("NET.exe START " + cbSQLServers.Text + " " + "\r\n" + "PAUSE")) {
         form.ShowDialog(this);
     }
 }
示例#4
0
文件: MForm.cs 项目: windrobin/kumpro
 private void bStartSqlNorm_Click(object sender, EventArgs e)
 {
     using (RunCmdForm form = new RunCmdForm("NET.exe START " + cbSQLServers.Text + " " + "\r\n" + "PAUSE")) {
         form.ShowDialog(this);
     }
 }