private void fThayDoiQuyDinh_Load(object sender, EventArgs e) { //a variable to store exception string ex = ""; ThamSoBUS.GetParameters(ex); //if there is exception if (ex != "") { MessageBox.Show(ex, "Lỗi", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } //Set the text in text boxes by thamso's information tbSoXeSua.Text = ThamSoDTO.SoXeSuaChuaToiDa.ToString(); tbSoTienNo.Text = ThamSoDTO.SoTienNoToiDa.ToString(); checkSuDungQuyDinh.Checked = ThamSoDTO.SuDungQuyDinh4; }