/// <summary>
 /// Constructor to create instance of control.
 /// </summary>
 public PatientInformationControl()
 {
     _patientInformationPresenter = new PatientInformationPresenter(this);
     InitializeComponent();            
     ProcessRecommendedColors();
     InitializeControl();
 }
Пример #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();
        }
Пример #3
0
 public void register(PatientInformationPresenter PIP)
 {
     patientInformationPresenter = PIP;
 }