Exemplo n.º 1
0
        private void ShowDialogForm2(string searchArg, DataTable dt)
        {
            frmBarangLookup frmDialog = new frmBarangLookup(searchArg, dt);

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

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

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