Example #1
0
 private void button_Stop_Click(object sender, EventArgs e)
 {
     monitor.StopListening();
     textBox_status.AppendText("Stopped Listening...\n");
     button_Start.Enabled = true;
     button_Stop.Enabled  = false;
 }
Example #2
0
 private void chkAddDiscovered_CheckedChanged(object sender, System.EventArgs e)
 {
     if (chkAddDiscovered.Checked)
     {
         mDiscoverer.StartListening();
     }
     else
     {
         mDiscoverer.StopListening();
     }
 }