private void StartService() { string uri = this.textBoxURI.Text; if (_receiver.Start(uri)) { this.textBoxURI.ReadOnly = true; this.buttonStart.Enabled = false; this.buttonStop.Enabled = true; } else { MessageBox.Show(this, "Start SOAP reciever error. Please see log file for details.", this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning); } }
public bool Start() { return(_receiver.Start(_context.ConfigMgr.Config.SOAPServiceURI)); }