Example #1
0
        private void ListView_MouseDoubleClick(object sender, MouseButtonEventArgs e)
        {
            BluetoothDeviceInfo device = (sender as ListView).SelectedItem as BluetoothDeviceInfo;

            if (device != null && device.Connected)
            {
                device.ShowDialog();
            }
        }
Example #2
0
        private void CommandDeviceProperties_Executed(object sender, ExecutedRoutedEventArgs e)
        {
            BluetoothDeviceInfo device = ListViewDevices.SelectedItem as BluetoothDeviceInfo;

            device.ShowDialog();
        }