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; }
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; }
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; }
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; }