Esempio n. 1
0
 private void BtnSymtom_Click(object sender, EventArgs e)
 {
     if (true)//symtoms != null)
     {
         frmAddSymtom._from = "patient";
         frmAddSymtom frm = new frmAddSymtom();
         frm.ShowDialog();
     }
     //load again symtom
     this.lbSymtom.Text   = symtoms;
     this.lbSymtomID.Text = symtomIDs;
 }
Esempio n. 2
0
 private void BtnSymtom_Click(object sender, EventArgs e)
 {
     if (symtoms != null)
     {
         frmAddSymtom frm = new frmAddSymtom();
         frm.ShowDialog();
     }
     else
     {
         MessageBox.Show("Please select Patient to edit symtom!", "Error message", MessageBoxButtons.OK, MessageBoxIcon.Error);
         return;
     }
     //load again symtom
     this.setSymtomValues();
 }