/// <summary>
 /// Constructor to create instance of control.
 /// </summary>
 public PatientInformationControl()
 {
     _patientInformationPresenter = new PatientInformationPresenter(this);
     InitializeComponent();            
     ProcessRecommendedColors();
     InitializeControl();
 }
Exemple #2
0
        public void rowSelected(int index)
        {
            DataRow dr        = joinDS.Tables[0].Rows[index];
            int     patientID = dr.Field <int>(0);
            PatientInformationForm      piForm = new PatientInformationForm();
            PatientInformationPresenter patientInformationPresenter = new PatientInformationPresenter(piForm, patients, patientID);

            piForm.Show();
        }
 public void register(PatientInformationPresenter PIP)
 {
     patientInformationPresenter = PIP;
 }