BKI_DichVuMatDat.NghiepVu.f321_chi_tiet_hop_dong_da_ky_theo_thoi_gian.display_from_f320_v2 C# (CSharp) 메소드

display_from_f320_v2() 공개 메소드

public display_from_f320_v2 ( decimal ip_dc_id_nhan_vien, DateTime ip_dat_tu_ngay, DateTime ip_dat_den_ngay ) : void
ip_dc_id_nhan_vien decimal
ip_dat_tu_ngay DateTime
ip_dat_den_ngay DateTime
리턴 void
        public void display_from_f320_v2(
            decimal ip_dc_id_nhan_vien
            , DateTime ip_dat_tu_ngay
            , DateTime ip_dat_den_ngay)
        {
            if (ip_dc_id_nhan_vien != -1)
            {
                m_sle_chon_nhan_vien.EditValue = ip_dc_id_nhan_vien;
            }
            else
            {
                m_sle_chon_nhan_vien.EditValue = null;
            }
            m_dat_tu_ngay.EditValue = ip_dat_tu_ngay;
            m_dat_den_ngay.EditValue = ip_dat_den_ngay;
            load_data_2_grid();
            this.CenterToScreen();
            this.ShowDialog();
        }

Usage Example

        void m_grv_thong_tin_hop_dong_DoubleClick(object sender, EventArgs e)
        {
            try
            {
                decimal v_id_nhan_vien = 0;
                v_id_nhan_vien = CIPConvert.ToDecimal(m_grv_thong_tin_hop_dong.GetRowCellValue(m_grv_thong_tin_hop_dong.FocusedRowHandle, "ID_NHAN_VIEN"));

                f321_chi_tiet_hop_dong_da_ky_theo_thoi_gian v_frm = new f321_chi_tiet_hop_dong_da_ky_theo_thoi_gian();
                v_frm.display_from_f320_v2(
                                    v_id_nhan_vien
                                    , m_dat_tu_ngay.DateTime.Date
                                    , m_dat_den_ngay.DateTime.Date);

            }
            catch (Exception v_e)
            {
                CSystemLog_301.ExceptionHandle(v_e);
            }
        }
All Usage Examples Of BKI_DichVuMatDat.NghiepVu.f321_chi_tiet_hop_dong_da_ky_theo_thoi_gian::display_from_f320_v2