void m_cmd_dat_gia_tri_hs_lns_Click(object sender, EventArgs e)
{
try
{
if (!check_data_hs_lns_is_ok())
{
return;
}
else
{
switch (m_e_form_mode)
{
case DataEntryFormMode.InsertDataState:
if (DevExpress.XtraEditors.XtraMessageBox.Show("Bạn có chắc chắn muốn điều chỉnh hệ số LNS như trên?", "XÁC NHẬN LẠI", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
save_data_hs_lns();
CHRM_BaseMessages.MsgBox_Infor("Lưu thành công");
}
break;
case DataEntryFormMode.UpdateDataState:
if (DevExpress.XtraEditors.XtraMessageBox.Show("Bạn có chắc chắn muốn cập nhật hệ số LNS như trên?", "XÁC NHẬN LẠI", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
{
save_data_hs_lns();
CHRM_BaseMessages.MsgBox_Infor("Lưu thành công");
}
break;
default:
break;
}
}
}
catch (Exception v_e)
{
CSystemLog_301.ExceptionHandle(v_e);
}
}