Esempio n. 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (_db.Connected() == System.Data.ConnectionState.Open)
     {
         AddStudent add = new AddStudent(_db);
         add.ShowDialog();
     }
     else
     {
         Utils.Error("MySQL Server is not working");
     }
 }