Exemplo 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;
 }
Exemplo 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();
 }