private void CapChungChiClick(object sender, EventArgs e) { var v_dt_row = m_grv.GetDataRow(m_grv.FocusedRowHandle); US_V_GD_DIEM v_us = new US_V_GD_DIEM(CIPConvert.ToDecimal(v_dt_row["ID"].ToString())); F209_gd_chung_chi_de v_f = new F209_gd_chung_chi_de(); v_f.dislay_for_insert(v_us); }
public void us_v_gd_diem_to_form(US_V_GD_DIEM v_us_gd_diem) { m_txt_ma_nhan_vien.Text = v_us_gd_diem.strMA_NV; m_txt_ten_nhan_vien.Text = v_us_gd_diem.strHO_TEN; m_txt_ten_mon_hoc.Text = v_us_gd_diem.strMA_MON_HOC; m_txt_ma_version.Text = v_us_gd_diem.strMA_VERSION; m_dc_id_gd_diem = v_us_gd_diem.dcID; v_trang_thai = false; }
internal void dislay_for_insert(US_V_GD_DIEM v_us) { us_v_gd_diem_to_form(v_us); m_e_form_mode = DataEntryFormMode.InsertDataState; this.ShowDialog(); }