示例#1
0
 private void Login_Load(object sender, EventArgs e)
 {
     mysqlConectionService = new MysqlConectionService();
     mysqlConectionService.OpenConnection();
     txtpassword.PasswordChar = '*';
 }
 private void Form1_Load(object sender, EventArgs e)
 {
     mysqlConectionService =  new MysqlConectionService();
     mysqlConectionService.OpenConnection();
     this.LoadMealData();
     cbbMealTypeID.SelectedIndex = 0;
     cbbDiet.SelectedIndex = 0;
 }