Ejemplo n.º 1
0
        private void ShowDialogForm(string searchArg, DataTable dt)
        {
            frmSecurityUsersLookup ifrmDialog = new frmSecurityUsersLookup(searchArg, dt);

            ifrmDialog.ShowDialog();
            if (ifrmDialog.DialogResult == DialogResult.OK)
            {
                GetDialogResult(ifrmDialog);
            }
        }
Ejemplo n.º 2
0
        private void GetDialogResult(frmSecurityUsersLookup dialogForm)
        {
            txtLookupName.Text = dialogForm.userName;
            txtLookupCode.Text = dialogForm.userID;

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

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