private void FileOpenButton_Click(object sender, RoutedEventArgs e) { string filePath = VsAppShell.Current.FileDialog.ShowOpenFileDialog(Package.Resources.CsvFileFilter); if (!string.IsNullOrEmpty(filePath)) { SetFilePath(filePath); } }