Beispiel #1
0
 public frmAllSales()
 {
     InitializeComponent();
     this.Business = new ProductsManagement();
     this.Load    += FrmAllSales_Load;
     this.grdHistories.DoubleClick += grdHistories_DoubleClick;
 }
 public frmAddProduct()
 {
     InitializeComponent();
     this.Business         = new ProductsManagement();
     this.btnCancel.Click += BtnCancel_Click;
     this.btnAdd.Click    += BtnAdd_Click;
 }
Beispiel #3
0
 public frmSell(int id)
 {
     InitializeComponent();
     this.Business         = new ProductsManagement();
     this.Id               = id;
     this.Load            += FrmSell_Load;
     this.btnCancel.Click += BtnCancel_Click;
     this.btnSell.Click   += BtnSell_Click;
 }
Beispiel #4
0
 public frmUpdate(int id)
 {
     InitializeComponent();
     this.ProductId        = id;
     this.Business         = new ProductsManagement();
     this.btnCancel.Click += BtnCancel_Click;
     this.btnUpdate.Click += BtnUpdate_Click;
     this.Load            += FrmUpdate_Load;
 }
Beispiel #5
0
 public frmDashboard()
 {
     InitializeComponent();
     this.Business             = new ProductsManagement();
     this.btnAddProduct.Click += BtnAddProduct_Click;
     this.Load += FrmDashboard_Load;
     this.btnUpdateProduct.Click += BtnUpdateProduct_Click;
     this.btnSell.Click          += BtnSell_Click;
     //this.txtTotal.DoubleClick += TxtTotal_DoubleClick;
     this.btnDelete.Click       += BtnDelete_Click;
     this.grdOrder.DoubleClick  += GrdBill_DoubleClick;
     this.btnCheckOut.Click     += BtnCheckOut_Click;
     this.btnViewAllSales.Click += BtnViewAllSales_Click;
 }
 public frmBillDetail()
 {
     InitializeComponent();
     this.Business = new ProductsManagement();
     this.Load    += frmBillDetail_Load;
 }