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);
            }
        }
Esempio n. 2
0
        private async void UserControl_Drop(object sender, DragEventArgs e)
        {
            DataFrameView dfv = await ParquetUniversal.OpenFromDragDropAsync(e);

            SetDataset(dfv.Df);
        }
Esempio n. 3
0
        private async void OpenFileButton_Click(object sender, RoutedEventArgs e)
        {
            DataFrameView f = await ParquetUniversal.OpenFromFilePickerAsync();

            SetDataset(f.Df);
        }