Exemple #1
0
 private void StopService()
 {
     if (_receiver.Stop())
     {
         this.textBoxURI.ReadOnly = false;
         this.buttonStart.Enabled = true;
         this.buttonStop.Enabled  = false;
     }
     else
     {
         MessageBox.Show(this,
                         "Stop SOAP reciever error. Please see log file for details.",
                         this.Text,
                         MessageBoxButtons.OK,
                         MessageBoxIcon.Warning);
     }
 }
Exemple #2
0
 public bool Stop()
 {
     _receiver.Stop();
     return(true);
 }