public CTBenhNhanCondition GetInfCTBenhNhanCondition()
 {
     CTBenhNhanCondition bnCon = new CTBenhNhanCondition();
     bnCon.Ankle = chkAnkleSprain.Checked;
     bnCon.Elbow = chkLateral.Checked;
     bnCon.FootPlantar = chkPlantar.Checked;
     bnCon.FootPronation = chkPronation.Checked;
     bnCon.FootSupination = chkSupination.Checked;
     bnCon.Hip = chkDegenerationHip.Checked;
     bnCon.IDCTBenhNhan = lblCTBenhNhan.Text;
     bnCon.KneeACL = chkALC.Checked;
     bnCon.KneeDegeneration = chkDegenerationKnee.Checked;
     bnCon.KneeMCL = chkMLC.Checked;
     bnCon.KneeMeniscus = chkMeniscus.Checked;
     bnCon.PostureHyperLordosis = chkHyper.Checked;
     bnCon.PostureKyphosis = chkKyphosis.Checked;
     bnCon.SacroiliacDegeneration = chkDegenerated.Checked;
     bnCon.SacroiliacInbalance = chkImbalance.Checked;
     bnCon.SacroiliacInflammation = chkInflammation.Checked;
     bnCon.SacroiliacNormail = chkNormal.Checked;
     bnCon.ScoliosisCervico = chkCervivo.Checked;
     bnCon.ScoliosisCervival = chkCervival.Checked;
     bnCon.ScoliosisLumbar = chkLumber.Checked;
     bnCon.ScoliosisThoracic = chkThoracic.Checked;
     bnCon.ScoliosisThoracolumbar = chkThoracolumbar.Checked;
     bnCon.ShoulderACJoint = chkShoulderACJoint.Checked;
     bnCon.ShoulderAdhesive = chkShoulderAdhesive.Checked;
     bnCon.ShoulderBursitis = chkBursitis.Checked;
     bnCon.ShoulderImpingement = chkShoulderImpingement.Checked;
     bnCon.ShoulderRotator = chkShoulderRotatorCuff.Checked;
     bnCon.Wrist = chkWrist.Checked;
     return bnCon;
 }
Esempio n. 2
0
 public bool InsertCTBenhNhanCondition(CTBenhNhanCondition CTBenhNhanCondition)
 {
     DataClassesDataContext data = new DataClassesDataContext(Connection);
     data.CTBenhNhanConditions.InsertOnSubmit(CTBenhNhanCondition);
     try
     {
         data.SubmitChanges();
         return true;
     }
     catch (Exception e)
     {
         return false;
     }
 }
Esempio n. 3
0
 partial void UpdateCTBenhNhanCondition(CTBenhNhanCondition instance);
Esempio n. 4
0
 partial void DeleteCTBenhNhanCondition(CTBenhNhanCondition instance);
Esempio n. 5
0
 partial void InsertCTBenhNhanCondition(CTBenhNhanCondition instance);