public frmCustomerAccountEdit(int customerID, FrmCustomerSearch _frmCustomerSearch) { InitializeComponent(); this._customerID = customerID; this._bDCustomerWrapper = new BDCustomerWrapper(); this._customer = new BDCustomer(); this.frmCustomerSearchObj = _frmCustomerSearch; FillCustomerData(); }
private void mnuItem_Customers_Click(object sender, EventArgs e) { FrmCustomerSearch frm = new FrmCustomerSearch(); switchForm(frm); }
private void btn_AddCustomer_Click(object sender, EventArgs e) { FrmCustomerSearch frm = new FrmCustomerSearch(); switchForm(frm); }