Esempio n. 1
0
        private void ConnectButton_Click(object sender, RoutedEventArgs e)
        {
            var connectWindow = new ConnectWindow();
            var result        = connectWindow.ShowDialog().Value;

            if (result)
            {
                ConnectToApp(connectWindow.SelectedDeviceItem);
            }
        }
Esempio n. 2
0
 private void ConnectButton_Click(object sender, RoutedEventArgs e)
 {
     var connectWindow = new ConnectWindow();
     var result = connectWindow.ShowDialog().Value;
     if (result)
     {
         ConnectToApp(connectWindow.SelectedDeviceItem);
     }
 }