private void Open_Click(object sender, RoutedEventArgs e) { OpenFileDialog openFileDialog1 = new OpenFileDialog { Filter = "Fichier excel |*.xlsx", Title = "Selectionnez le fichier" }; if (openFileDialog1.ShowDialog() == true) { var tlna = new ToutLesNonA(); tlna.GetExcelFile(openFileDialog1.FileName); } }
private void Validate_Click(object sender, RoutedEventArgs e) { var tlna = new ToutLesNonA(); tlna.ReadCp(this.tb.Text); }