private void btnLeveranciers_Click(object sender, RoutedEventArgs e) { Leveranciers leveranciers = new Leveranciers(); List <Leverancier> ListOfSuppliers = null; ListOfSuppliers = DataManager.GetSuppliers(); foreach (Leverancier l in ListOfSuppliers) { dgShow.ItemsSource = ListOfSuppliers; } }
private void btnLeveranciers_Click(object sender, RoutedEventArgs e) { Leveranciers leverancier = new Leveranciers(); leverancier.Show(); }