Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 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);
     }
 }
Beispiel #3
0
 private void bStartSqlNorm_Click(object sender, EventArgs e) {
     using (RunCmdForm form = new RunCmdForm("NET.exe START " + cbSQLServers.Text + " " + "\r\n" + "PAUSE")) {
         form.ShowDialog(this);
     }
 }
Beispiel #4
0
 private void bStartSqlNorm_Click(object sender, EventArgs e)
 {
     using (RunCmdForm form = new RunCmdForm("NET.exe START " + cbSQLServers.Text + " " + "\r\n" + "PAUSE")) {
         form.ShowDialog(this);
     }
 }