private void btnFCus_Click(object sender, EventArgs e) { frmIPSearch f = new frmIPSearch(); f.ShowDialog(); if (f.gOkCancel == true) { txtCusCode.Text = f.CODE; txtCusCode.Focus(); } }
private void btnIFind_Click(object sender, EventArgs e) { frmIPSearch f = new frmIPSearch(); f.ShowDialog(); if (f.gOkCancel == true) { gCurQty = 0; txtCode.Text = f.CODE; gCurQty = f.QTY; txtCode.Focus(); } }