BKI_DichVuMatDat.NghiepVu.f366_quan_ly_nhan_vien_khong_dong_bao_hiem.load_data_2_form_4_udate C# (CSharp) Method

load_data_2_form_4_udate() private method

private load_data_2_form_4_udate ( ) : void
return void
        private void load_data_2_form_4_udate()
        {
            decimal v_id_nv = CIPConvert.ToDecimal(m_grv_luong_cung_cua_nhan_vien.GetRowCellValue(m_grv_luong_cung_cua_nhan_vien.FocusedRowHandle, "ID_NHAN_VIEN"));
            if (check_id_khong_dong_bao_hiem_is_exist(v_id_nv))
            {
                decimal v_id_gd_khong_dong_bao_hiem = CIPConvert.ToDecimal(m_grv_luong_cung_cua_nhan_vien.GetRowCellValue(m_grv_luong_cung_cua_nhan_vien.FocusedRowHandle, "ID"));
                US_GD_KHONG_DONG_BAO_HIEM v_us = new US_GD_KHONG_DONG_BAO_HIEM(v_id_gd_khong_dong_bao_hiem);
                m_e_form_mode = DataEntryFormMode.UpdateDataState;
                us_obj_2_form(v_us);
            }
            else
            {
                CHRM_BaseMessages.MsgBox_Infor("Nhân viên này chưa có thông tin trong tháng " + m_txt_chon_thang.Text.Trim() + " năm " + m_txt_chon_nam.Text.Trim());
                m_sle_chon_nhan_vien.EditValue = v_id_nv;
                return;
            }
        }