Exemplo n.º 1
0
        private void Disconnect_Click(object sender, RoutedEventArgs e)
        {
            isConnected = false;
            SetIsEnabled(true);
            isDisConnected     = true;
            errorLAbel.Content = "";
            wheel.ResetSliders();

            // Disconnect.
            mainVM.Disconnect();
        }