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

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