private async void ViewUnknownData(object sender, MouseButtonEventArgs e) { var lst = await im.GetUnknownGunData().ConfigureAwait(false); Grid.ItemsSource = null; if (lst != null) { Grid.ItemsSource = lst.DefaultView; } }
private async void ViewUnknownData(object sender, MouseButtonEventArgs e) { var lst = await im.GetUnknownGunData().ConfigureAwait(false); Grid.ItemsSource = null; if (lst != null) { Grid.ItemsSource = lst.DefaultView; } }