Ejemplo n.º 1
0
        private void ShowDialogForm2(string searchArg, DataTable dt)
        {
            frmStockLookUpExtended ifrmDialog = new frmStockLookUpExtended(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult2(ifrmDialog);
            }
            else
            {
                txtLookupName.Focus();
            }
        }
Ejemplo n.º 2
0
        /* Call extended dialog form */

        private void ShowDialogForm2()
        {
            frmStockLookUpExtended ifrmDialog = new frmStockLookUpExtended();

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