Exemplo n.º 1
0
        private void Disconnect()
        {
            FWatcher.Stop();
            FHub.Disconnect();
            FManager.Close();

            btConnect.Enabled    = true;
            btDisconnect.Enabled = false;
        }
Exemplo n.º 2
0
 private void FmDevInfo_FormClosed(object sender, FormClosedEventArgs e)
 {
     // Disconnect from Hub.
     FHub.Disconnect();
 }