private void button1_Click(object sender, EventArgs e) { try { SinhVien sv = GetInputForm(); SinhVien.Them(sv); DialogResult = DialogResult.OK; } catch (Exception ex) { MessageBox.Show(ex.Message, "Thông Báo"); } }