Exemple #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);
     }
 }
Exemple #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);
     }
 }
Exemple #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);
     }
 }
Exemple #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);
     }
 }