Esempio n. 1
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmSecurityRightsLookup ifrmDialog = new frmSecurityRightsLookup(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
Esempio n. 2
0
        private void GetDialogResult(frmSecurityRightsLookup dialogForm)
        {
            txtLookupName.Text = dialogForm.rightName;
            txtLookupCode.Text = dialogForm.rightID;

            if (this.SelectData != null)
            {
                this.SelectData(this, new EventArgs());
            }
        }
Esempio n. 3
0
        private void ShowDialogForm()
        {
            frmSecurityRightsLookup ifrmDialog = new frmSecurityRightsLookup();

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