BKI_DichVuMatDat.DanhMuc.F110_dm_chuc_vu_de.save_data C# (CSharp) Method

save_data() private method

private save_data ( ) : void
return void
        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();
        }