Exemple #1
0
 public void updateDiagnose(diagnoseData diag)
 {
     try
     {
         command.CommandText = "Update [visit] set [diagnose] = '" + diag.Title + "', [diagnoseDescribe] = '" + diag.Describe + "' where [Код] = " + diag.IdVisit;
         command.ExecuteNonQuery();
     }
     catch { }
 }
Exemple #2
0
 public visitData()
 {
     recomendation = new recommendation();
     obsl          = new obslData();
     diagnose      = new diagnoseData();
     symptom       = new symptoms();
     doc           = new doctorData();
     pat           = new patientData();
     doctorInfo    = doc.Surname + " " + doc.Name + " " + doc.MiddleName;
 }
Exemple #3
0
        private void button4_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            diagnoseData    data         = new diagnoseData();
            diagnoseControl dia          = new diagnoseControl(data, connector);
            diagnose        showDiagnose = new diagnose(visit.Id, dia);

            showDiagnose.ShowDialog();
            this.Visible = true;
        }
 public diagnoseControl(diagnoseData dat, dataBase _connector)
 {
     data      = dat;
     connector = _connector;
 }