private void listFamily_DoubleClick(object sender, System.EventArgs e) { if (listViewFamily.SelectedIndices.Count == 0) { return; } FormRecallsPat formRecallsPat = new FormRecallsPat(); formRecallsPat.PatNum = _patCur.PatNum; formRecallsPat.ShowDialog(); }
private void listFamily_DoubleClick(object sender, System.EventArgs e) { if(listFamily.SelectedIndices.Count==0){ return; } FormRecallsPat FormR=new FormRecallsPat(); FormR.PatNum=PatCur.PatNum; FormR.ShowDialog(); /* int originalPatNum=PatCur.PatNum; Recall recallCur=null; for(int i=0;i<RecallList.Count;i++){ if(RecallList[i].PatNum==FamCur.List[listFamily.SelectedIndices[0]].PatNum){ recallCur=RecallList[i]; } } if(recallCur==null){ recallCur=new Recall(); recallCur.PatNum=FamCur.List[listFamily.SelectedIndices[0]].PatNum; recallCur.RecallInterval=new Interval(0,0,6,0); } FormRecallListEdit FormRLE=new FormRecallListEdit(recallCur); FormRLE.ShowDialog(); if(FormRLE.PinClicked){ oResult=OtherResult.CopyToPinBoard; AptNumsSelected.Add(FormRLE.AptSelected); DialogResult=DialogResult.OK; } else{ FamCur=Patients.GetFamily(originalPatNum); PatCur=FamCur.GetPatient(originalPatNum); Filltb(); }*/ }
private void gridRecall_DoubleClick(object sender,EventArgs e) { if(PatCur==null){ return; } FormRecallsPat FormR=new FormRecallsPat(); FormR.PatNum=PatCur.PatNum; FormR.ShowDialog(); ModuleSelected(PatCur.PatNum); }