//--------------------PRODUCTS-------------------------- //Button -- Add Product (Get Window) private void Product_Add_IButton_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { AddProduct addProduct = new AddProduct(products); addProduct.ShowDialog(); }
//Add Product private void AddProduct_Click(object sender, RoutedEventArgs e) { AddProduct addProduct = new AddProduct(products); addProduct.ShowDialog(); }