private void AddSupplier_Click(object sender, RoutedEventArgs e) { SupplierViewModel cancel = new SupplierViewModel(); cancel.Cancel_Supplier(); AddSupplier _AS = new AddSupplier(); _AS.ShowDialog(); }
private void SupplierListing_Click(object sender, RoutedEventArgs e) { SupplierViewModel cancel = new SupplierViewModel(); cancel.Cancel_Supplier(); SupplierListing _SL = new SupplierListing(); _SL.ShowDialog(); }