} //MnuItemCatogeryListClick private void mnuBtnPatientRecord_Click(object sender, EventArgs e) { frmPatientRecord frmTmp = new frmPatientRecord(); frmTmp.setParent(this); frmTmp.setReferenceConnectNLoadData(ref this.myConn, ref this.pdc.ReportDefinition, ref this.pdc.reportHeader, this.pdc.ReportTitle); frmTmp.ShowDialog(); frmTmp = null; }//MnuBtnPatientRecordClick
void BtnShowProfileClick(object sender, System.EventArgs e) { frmPatientRecord frmTmp; if (lstProfile.SelectedItems!=null) if (lstProfile.SelectedItems.Count>0) { frmTmp = new frmPatientRecord(); frmTmp.setReferenceConnectNLoadData(ref this.refConn, ref ms, ref this.reportImageTitle, this.reportTitle); frmTmp.LoadProfile(lstProfile.SelectedItems[0].Text); this.Dispose(); frmTmp.ShowDialog(); } }
void BtnShowProfileClick(object sender, System.EventArgs e) { frmPatientRecord frmTmp; if (lstProfile.SelectedItems != null) { if (lstProfile.SelectedItems.Count > 0) { frmTmp = new frmPatientRecord(); frmTmp.setReferenceConnectNLoadData(ref this.refConn, ref ms, ref this.reportImageTitle, this.reportTitle); frmTmp.LoadProfile(lstProfile.SelectedItems[0].Text); this.Dispose(); frmTmp.ShowDialog(); } } }
private void mnuBtnPatientRecord_Click(object sender, EventArgs e) { frmPatientRecord frmTmp = new frmPatientRecord(); frmTmp.setParent(this); frmTmp.setReferenceConnectNLoadData(ref this.myConn, ref this.pdc.ReportDefinition, ref this.pdc.reportHeader, this.pdc.ReportTitle); frmTmp.ShowDialog(); frmTmp = null; }