public POS() { InitializeComponent(); this.medicine = new MedicineBLL(); this.generic = new GenericBLL(); this.medicines = new BindingList <Medicine>(); }
public ManageInventory() { InitializeComponent(); generic = new GenericBLL(); formulation = new FormulationBLL(); dosage = new DosageBLL(); manufacturer = new ManufacturerBLL(); medicine = new MedicineBLL(); }
protected override void OnFormClosing(FormClosingEventArgs e) { MedicineBLL med = new MedicineBLL(); TransactionBLL tran = new TransactionBLL(); foreach (Medicine m in medicines) { tran.Insert(m); med.Update(m); } }
public TransactionReport() { InitializeComponent(); this.transactions = new TransactionBLL(); this.medicine = new MedicineBLL(); }
public Dashboard() { InitializeComponent(); this.transaction = new TransactionBLL(); this.medicine = new MedicineBLL(); }