示例#1
0
        private void ShowDialogForm2(string searchArg, DataTable dt)
        {
            frmStokBklLookup frmDialog = new frmStokBklLookup(searchArg, dt);

            frmDialog.ShowDialog();
            if (frmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult2(frmDialog);
            }
            else
            {
                txtLookupName.Focus();
            }
        }
示例#2
0
        /* Call extended dialog form */

        private void ShowDialogForm2()
        {
            frmStokBklLookup frmDialog = new frmStokBklLookup();

            frmDialog.ShowDialog();
            if (frmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult2(frmDialog);
            }
            else
            {
                txtLookupName.Focus();
            }
        }