private void gridMain_CellClick(object sender, ODGridClickEventArgs e) { if (!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) //Security.IsAuthorized(Permissions.EhrInfoButton,true)) { { return; } if (e.Col != 0) { return; } List <KnowledgeRequest> listKnowledgeRequests = EhrTriggers.ConvertToKnowledgeRequests(Snomeds.GetByCode(gridMain.Rows[e.Row].Cells[1].Text)); FormInfobutton FormIB = new FormInfobutton(listKnowledgeRequests); FormIB.ShowDialog(); }
private void gridMain_CellClick(object sender, ODGridClickEventArgs e) { if (!CDSPermissions.GetForUser(Security.CurUser.UserNum).ShowInfobutton) //Security.IsAuthorized(Permissions.EhrInfoButton,true)) { { return; } if (e.Col != 0) { return; } List <KnowledgeRequest> listKnowledgeRequests = EhrTriggers.ConvertToKnowledgeRequests(EhrLabCur.ListEhrLabResults[e.Row]); FormInfobutton FormIB = new FormInfobutton(listKnowledgeRequests); //if(PatCurNum>0) { // FormIB.PatCur=Patients.GetPat(PatCurNum); //} FormIB.ShowDialog(); }