Exemplo n.º 1
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     ConnectionDB.Close();
 }
Exemplo n.º 2
0
 private void MainForm_Load(object sender, EventArgs e)
 {
     ConnectionDB.Connect();
     SelectMedicaments();
 }
Exemplo n.º 3
0
 private void butApply_Click(object sender, EventArgs e)
 {
     ConnectionDB.Update("update disease set Name= '" + textBoxName.Text + "' where ID_disease= " + dis_id);
     Close();
 }
Exemplo n.º 4
0
 private void butApply_Click(object sender, EventArgs e)
 {
     ConnectionDB.Update("update category set Name= '" + textBoxName.Text + "' where ID_cat= " + cat_id);
     Close();
 }
Exemplo n.º 5
0
 private void butApply_Click(object sender, EventArgs e)
 {
     ConnectionDB.Update("update symptom set Name= '" + textBoxName.Text + "' where ID_symptom= " + sym_id);
     Close();
 }