private void btnFSupp_Click(object sender, EventArgs e) { frmIPSearchDealer f = new frmIPSearchDealer(); f.TABLE_NAME = "tblCustomer"; f.ShowDialog(); if (f.gOkCancel == true) { txtSuppCode.Text = f.CODE; gCustID = f.CUSTID; txtSuppCode.Focus(); } }
private void btnSFind_Click(object sender, EventArgs e) { frmIPSearchDealer f = new frmIPSearchDealer(); f.TABLE_NAME = "tblSupplier"; f.ShowDialog(); if (f.gOkCancel == true) { txtSupCode.Text = f.CODE; gSupplierID = f.CUSTID; lblSupplier.Text = f.NAME; txtSupCode.Focus(); } }