Beispiel #1
0
 public POS()
 {
     InitializeComponent();
     this.medicine  = new MedicineBLL();
     this.generic   = new GenericBLL();
     this.medicines = new BindingList <Medicine>();
 }
Beispiel #2
0
 public ManageInventory()
 {
     InitializeComponent();
     generic      = new GenericBLL();
     formulation  = new FormulationBLL();
     dosage       = new DosageBLL();
     manufacturer = new ManufacturerBLL();
     medicine     = new MedicineBLL();
 }
Beispiel #3
0
        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);
            }
        }
Beispiel #4
0
 public TransactionReport()
 {
     InitializeComponent();
     this.transactions = new TransactionBLL();
     this.medicine     = new MedicineBLL();
 }
Beispiel #5
0
 public Dashboard()
 {
     InitializeComponent();
     this.transaction = new TransactionBLL();
     this.medicine    = new MedicineBLL();
 }