예제 #1
0
        private async void AddDataSource_Click(object sender, RoutedEventArgs e)
        {
            DataFrameView dfv = await ParquetUniversal.OpenFromFilePickerAsync();

            NotYetLoaded.Visibility = Visibility.Collapsed;

            DataSourcesList.Items.Add(dfv);
            if (DataSourcesList.Items.Count == 1)
            {
                DataSourcesList.SelectedIndex = 0;
                DataFrameViewChanged?.Invoke(DataSourcesList.SelectedItem as DataFrameView);
            }
        }
예제 #2
0
        private async void OpenFileButton_Click(object sender, RoutedEventArgs e)
        {
            DataFrameView f = await ParquetUniversal.OpenFromFilePickerAsync();

            SetDataset(f.Df);
        }