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); } }
public bool Stop() { _receiver.Stop(); return(true); }