private void AskUnclaimDeviceButton_Click(object sender, RoutedEventArgs e)
        {
            var particleDevice = GetParticleDeviceFromControl(sender);

            if (particleDevice == null)
            {
                return;
            }

            var listViewItem = (ListViewItem)DeviceListBox.ContainerFromItem(particleDevice);

            FlyoutHelper.AskUnclaimDevice(particleDevice, this, listViewItem);
        }
Esempio n. 2
0
 private void AskUnclaimDeviceButton_Click(object sender, RoutedEventArgs e)
 {
     FlyoutHelper.AskUnclaimDevice(particleDevice, this, MoreButton);
 }