Exemplo n.º 1
0
 public void setPresId(ref PermissibleValueObj presId)
 {
     this.presId = presId;
     if (presId.Value != "")
     {
         Dictionary <String, String> pres = consMgr.getPrescriptionById(int.Parse(presId.Value));
         textBox_instruction.Text       = pres["instruction"];
         textBox_nDose.Text             = pres["no_of_dose"];
         textBox_methodOfTreatment.Text = pres["method_of_treatment"];
         prescriptionPanel1.setConsPres(int.Parse(presId.Value));
     }
 }