private void save_data()
{
us_to_form();
switch (m_e_form_mode)
{
case DataEntryFormMode.InsertDataState:
m_us.Insert();
break;
case DataEntryFormMode.UpdateDataState:
m_us.Update();
break;
default:
break;
}
XtraMessageBox.Show("Lưu thành công!", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
this.Close();
}