Exemple #1
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmSecurityRightsLookup ifrmDialog = new frmSecurityRightsLookup(searchArg, dt);

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

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

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