private void AddItem_Click(object sender, RoutedEventArgs e) { NewProducts newProducts = new NewProducts("Creature"); newProducts.ShowDialog(); view.UpdatingTypes(ProductComboBox); }
private void Window_Loaded(object sender, RoutedEventArgs e) { view.UpdatingTypes(ProductComboBox); }