Beispiel #1
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmSalesLookup ifrmDialog = new frmSalesLookup(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
            else
            {
                txtLookupName.Focus();
            }
        }
Beispiel #2
0
        private void ShowDialogForm()
        {
            frmSalesLookup ifrmDialog = new frmSalesLookup();

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
            else
            {
                txtLookupName.Focus();
            }
        }