/// <summary> /// Dump3 button click event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnAreCode_Click(object sender, EventArgs e) { frmLookup frmLookup = new frmLookup(); frmLookup.lookupType = LookupType.Area; frmLookup.ShowDialog(); txtAreaCode.Text = frmLookup.returnField1; txtAreaCode.Focus(); }
/// <summary> /// Dump2 button click event /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnReferenceID_Click(object sender, EventArgs e) { frmLookup frmLookup = new frmLookup(); frmLookup.lookupType = LookupType.Customer; frmLookup.ShowDialog(); txtReferenceID.Text = frmLookup.returnField1; txtReferenceID.Focus(); }
private void btnDumpOrder_Click(object sender, EventArgs e) { frmLookup frmLookup = new frmLookup(); frmLookup.lookupType = LookupType.Order; frmLookup.ShowDialog(); txtOrderID.Text = frmLookup.returnField1; txtOrderID.Focus(); }