public PatientRegistrationForm() { // // Required for telerik Reporting designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // IIQCareSystem appManager = (IIQCareSystem)ObjectFactory.CreateInstance("BusinessProcess.Security.BIQCareSystem, BusinessProcess.Security"); PatientInfo.ConnectionString = appManager.GetEMRConnectionString(); pbLogo.Value = "logo.png"; }
public PatientSummary() { // // Required for telerik Reporting designer support // InitializeComponent(); // // TODO: Add any constructor code after InitializeComponent call // IIQCareSystem appManager = (IIQCareSystem)ObjectFactory.CreateInstance("BusinessProcess.Security.BIQCareSystem, BusinessProcess.Security"); string sconstring = appManager.GetEMRConnectionString().ToLower().Replace("initial catalog = iqcare", "initial catalog = iqtools"); VLs.ConnectionString = sconstring; ARTInfo.ConnectionString = sconstring; CD4.ConnectionString = sconstring; ClinicalNotes.ConnectionString = sconstring; PatientDetails.ConnectionString = sconstring; pbLogo.Value = "logo.png"; }