Esempio 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();
            }
        }
Esempio 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();
            }
        }