Exemplo n.º 1
0
        private void btnUserSearch_Click(object sender, EventArgs e)
        {
            if (!string.IsNullOrEmpty(tbUserEmail.Text))
            {
                if (rbUserInfoBPM.Checked == true)
                {
                    BPMHelper bpmHelper = new BPMHelper();
                    DataTable dtGet     = bpmHelper.GetUserInfoByEmailAdId(tbUserEmail.Text);
                    gvUserInfo.DataSource = dtGet;

                    DataTable dtVRGet = bpmHelper.GetVRByAccount(tbUserEmail.Text);
                    grdVR.DataSource = dtVRGet;
                }
                else if (rbUserInfoDLMS.Checked == true)
                {
                    DLMSHelper dlmsHelper = new DLMSHelper();
                    DataTable  dtGet      = dlmsHelper.GetUserInfoByEmailAdId(tbUserEmail.Text);
                    gvUserInfo.DataSource = dtGet;
                }
            }
        }
Exemplo n.º 2
0
 private void btnPatchApprove_Click(object sender, EventArgs e)
 {
     DLMSHelper    dlmsHelper = new DLMSHelper();
     List <string> listGet    = dlmsHelper.GetHistoryApproverList("19990");
 }