private void btnStop_Click(object sender, EventArgs e) { if (rootHub.Stop()) { btnStart.Enabled = true; btnStop.Enabled = false; } }