public LayMaMucLNSCuaHopDong ( decimal ip_dc_id_hop_dong_con_hieu_luc, decimal &op_dc_he_so, string &op_str_ma, string &op_str_muc ) : void | ||
ip_dc_id_hop_dong_con_hieu_luc | decimal | |
op_dc_he_so | decimal | |
op_str_ma | string | |
op_str_muc | string | |
리턴 | void |
//Fill Data TO Control private void fill_data_to_control_insert_lns() { US_GD_HOP_DONG v_us_hd = new US_GD_HOP_DONG(); decimal op_he_so = 0; string op_ma = ""; string op_muc = ""; v_us_hd.LayMaMucLNSCuaHopDong(Convert.ToDecimal(m_sle_hop_dong.EditValue), out op_he_so, out op_ma, out op_muc); m_txt_ma.Text = op_ma; m_txt_muc.Text = op_muc; m_txt_gia_tri_ma_muc.EditValue = op_he_so; }
private void setup_for_update_lns(decimal ip_dc_id_gd_he_so_lns) { m_e_loai_form = e_loai_form.UPDATE_LNS; US_GD_HE_SO_LNS v_us_hs_lns = new US_GD_HE_SO_LNS(ip_dc_id_gd_he_so_lns); US_GD_HS_LNS_LCD v_us_hs_lns_lcd = new US_GD_HS_LNS_LCD();//new US_GD_HS_LNS_LCD(v_us_hs_lns.dcID_HS_LNS_LCD); m_us_save.dcID = ip_dc_id_gd_he_so_lns; m_sle_hop_dong.EditValue = v_us_hs_lns_lcd.dcID_HOP_DONG; m_txt_gia_tri_thay_doi.EditValue = v_us_hs_lns.dcHE_SO; m_dat_tu_ngay.DateTime = v_us_hs_lns.datNGAY_BAT_DAU; m_dat_den_ngay.DateTime = v_us_hs_lns.datNGAY_KET_THUC; //m_le_ly_do_chinh_sua.EditValue = v_us_hs_lns.dcID_LY_DO_CHINH_SUA; m_txt_ghi_chu.Text = v_us_hs_lns.strGHI_CHU; Text = "F391 - Cập nhật chỉnh sửa hệ số LNS"; US_GD_HOP_DONG v_us_hd = new US_GD_HOP_DONG(); decimal op_he_so = 0; string op_ma = ""; string op_muc = ""; v_us_hd.LayMaMucLNSCuaHopDong(Convert.ToDecimal(m_sle_hop_dong.EditValue), out op_he_so, out op_ma, out op_muc); m_txt_ma.Text = op_ma; m_txt_muc.Text = op_muc; m_txt_gia_tri_ma_muc.EditValue = op_he_so; m_sle_hop_dong.ReadOnly = true; }