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

form_2_us_luong_cung() private method

private form_2_us_luong_cung ( US_GD_KHONG_DONG_BAO_HIEM ip_us ) : void
ip_us US_GD_KHONG_DONG_BAO_HIEM
return void
        private void form_2_us_luong_cung(US_GD_KHONG_DONG_BAO_HIEM ip_us)
        {
            if (m_e_form_mode == DataEntryFormMode.UpdateDataState)
            {
                ip_us.dcID = CIPConvert.ToDecimal(m_grv_luong_cung_cua_nhan_vien.GetRowCellValue(m_grv_luong_cung_cua_nhan_vien.FocusedRowHandle, "ID"));
                //nguoi sua
                ip_us.strNGUOI_LAP = CAppContext_201.getCurrentUserName();

            }
            else
            {
                ip_us.datNGAY_LAP = DateTime.Now.Date;
                //nguoi lap
                ip_us.strNGUOI_LAP = CAppContext_201.getCurrentUserName();
            }
            ip_us.dcTHANG = CIPConvert.ToDecimal(m_txt_chon_thang.Text.Trim());
            ip_us.dcNAM = CIPConvert.ToDecimal(m_txt_chon_nam.Text.Trim());
            ip_us.dcID_NHAN_VIEN = CIPConvert.ToDecimal(m_sle_chon_nhan_vien.EditValue);
            ip_us.strLY_DO = m_txt_ly_do.Text.Trim();
        }