Ejemplo n.º 1
0
        /// <summary>
        /// checkboxes -> class diagnosedConditionsClass
        /// </summary>
        /// <returns></returns>
        private diagnosedConditionsClassv2 getDiagnosedConditionFromControl()
        {
            diagnosedConditionsClassv2 dCondition = new diagnosedConditionsClassv2();

            dCondition.strabismusExotropia = checkBoxStrabismusExotropia.Checked;
            dCondition.strabismusEsotropia = checkBoxStrabismusEsotropia.Checked;
            dCondition.astigmatism         = checkBoxAstigmatism.Checked;
            dCondition.nystagmus           = checkBoxNystagmus.Checked;
            dCondition.amblyopia           = checkBoxAmblyopia.Checked;
            dCondition.hypermetropia       = checkBoxHypermetropia.Checked;
            dCondition.myopia            = checkBoxMyopia.Checked;
            dCondition.cranialNervePalsy = checkBoxCranialNervePalsy.Checked;
            dCondition.ADHD     = checkBoxADHD.Checked;
            dCondition.dislexia = checkBoxDislexia.Checked;
            dCondition.other    = checkBoxOther.Checked;
            dCondition.convergenceInsufficiency = checkBoxConvergenceInsufficiency.Checked;
            return(dCondition);
        }
Ejemplo n.º 2
0
 public patient_class_datav3()
 {
     user_diagnosedConditions = new diagnosedConditionsClassv2();
 }