Exemplo 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);
            }
        }
Exemplo 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());
            }
        }
Exemplo n.º 3
0
        private void ShowDialogForm()
        {
            frmSecurityRightsLookup ifrmDialog = new frmSecurityRightsLookup();

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