public void DeleteImportDrug() { if (SelectedImportProduct == null) { return; } ImportProducts.Remove(SelectedImportProduct); }
public void AddDrug(Intellibox control) { if (SelectedProductId == 0) { return; } ImportProducts.Add(new Product() { ProductId = _selectedProduct.ProductId, BrandName = _selectedProduct.BrandName, Quantity = Quantity, Country = _selectedProduct.Country, Exp = Exp, GenericDrug = _selectedProduct.GenericDrug, Price = Price, Type = _selectedProduct.Type }); control.Focus(); }