private void btnLuuThongTin_Click(object sender, EventArgs e) { try { ChiTietTrungTamLogic.Update(LoadChiTiet()); MessageBox.Show("Thay đổi thông tin trung tâm thành công", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); GlobalSettings.LoadCenterInformation(); this.Close(); } catch { MessageBox.Show("Có lỗi xảy ra", "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); } }