Пример #1
0
 public void display_for_update_cau_hoi(US_V_DM_CAU_HOI ip_us_dm_cau_hoi)
 {
     m_e_form_mode   = e_form_mode.SUA_CAU_HOI;
     m_us_dm_cau_hoi = ip_us_dm_cau_hoi;
     m_us_dm_cau_tra_loi.get_obj_by_id_cau_hoi();
     this.ShowDialog();
 }
Пример #2
0
 public void display_for_duyet_cau_tra_loi(US_V_DM_CAU_TRA_LOI ip_us_dm_cau_tra_loi)
 {
     m_e_form_mode       = e_form_mode.DUYET_CAU_TRA_LOI;
     m_us_dm_cau_tra_loi = ip_us_dm_cau_tra_loi;
     m_us_all_cau_hoi    = new US_V_DM_CAU_HOI_KO_TRA_LOI(m_us_dm_cau_tra_loi.dcID_CAU_HOI);
     this.ShowDialog();
 }
Пример #3
0
 public void display_for_duyet_cau_tra_loi(US_V_DM_CAU_TRA_LOI ip_us_dm_cau_tra_loi)
 {
     m_e_form_mode = e_form_mode.DUYET_CAU_TRA_LOI;
     m_us_dm_cau_tra_loi = ip_us_dm_cau_tra_loi;
     m_us_all_cau_hoi = new US_V_DM_CAU_HOI_KO_TRA_LOI(m_us_dm_cau_tra_loi.dcID_CAU_HOI);
     this.ShowDialog();
 }
        public void display()
        {
            load_data_2_cbo_truong();
            m_chk_hoc_vien_moi.Enabled = true;

            m_e_form_mode = e_form_mode.NHAP_TAY;
            m_bl_luu_cuoc_goi = true;
            m_txt_dien_thoai.Enabled = true;
            m_txt_dien_thoai.Focus();
            this.ShowDialog();
        }
Пример #5
0
 public void display_for_them_cau_tra_loi(US_V_DM_CAU_HOI ip_us_dm_cau_hoi)
 {
     m_e_form_mode   = e_form_mode.THEM_CAU_TRA_LOI;
     m_us_dm_cau_hoi = ip_us_dm_cau_hoi;
     this.ShowDialog();
 }
Пример #6
0
 public void display_for_insert_cau_hoi()
 {
     m_e_form_mode = e_form_mode.THEM_CAU_HOI;
     this.ShowDialog();
 }
 public DialogResult display_search(string i_str_key_search
     , decimal i_id_don_vi
     , decimal i_id_loai_cau_hoi
     , US_V_DM_CAU_HOI i_us)
 {
     m_e_form_mode = e_form_mode.DISPLAY_FROM_CALL_SINH_VIEN;
     load_data_2_cbo_don_vi_lien_quan();
     load_data_2_cbo_loai_cau_hoi_tren();
     m_txt_key_cau_hoi.Text = i_str_key_search;
     m_e_trangThai_cbo_Don_vi = e_trangThai_cbo_Don_vi.DANG_FILL_DATA;
     m_e_trangThai_cbo_Nhom_cau_hoi = e_trangThai_cbo_Nhom_cau_hoi.DANG_FILL_DATA;
     m_cbo_loai_cau_hoi_tren.SelectedValue = i_id_loai_cau_hoi;
     m_cbo_don_vi_lien_quan.SelectedValue = i_id_don_vi;
     m_e_trangThai_cbo_Don_vi = e_trangThai_cbo_Don_vi.DA_FILL_XONG;
     m_e_trangThai_cbo_Nhom_cau_hoi = e_trangThai_cbo_Nhom_cau_hoi.DA_FILL_XONG;
     m_us_cau_hoi = i_us;
     this.ShowDialog();
     return m_dlg_result;
 }
 public void display()
 {
     m_e_form_mode = e_form_mode.DISPLAY_FROM_MAIN_FORM;
     load_data_2_cbo_don_vi_lien_quan();
     load_data_2_cbo_loai_cau_hoi_tren();
     this.ShowDialog();
 }
        public void display(SinhVien i_obj_sinh_vien, string i_str_call_id)
        {
            load_data_2_cbo_truong();
            m_e_form_mode = e_form_mode.TU_DONG_OPEN;
            m_txt_dien_thoai.Text = i_obj_sinh_vien.Dien_thoai;
            m_txt_ho_ten.Text = i_obj_sinh_vien.Ho_ten;
            m_txt_ma_hoc_vien.Text = i_obj_sinh_vien.Ma_sinh_vien;
            m_txt_ma_lop.Text = i_obj_sinh_vien.Ma_lop;
            if(i_obj_sinh_vien.Ngay_sinh != CIPConvert.ToDatetime("01/01/0001","dd/MM/yyyy"))
                m_dtp_ngay_sinh.Value = CIPConvert.ToDatetime( i_obj_sinh_vien.Ngay_sinh.ToShortDateString(),"dd/MM/yyyy");
            if (i_obj_sinh_vien.Truong != null)
                m_cbo_truong.SelectedValue = i_obj_sinh_vien.Truong;
            else m_cbo_truong.SelectedIndex = 0;
            if (i_obj_sinh_vien.Ho_Ten_QLHT != "" && i_obj_sinh_vien.Ho_Ten_QLHT != null)
                m_txt_ho_ten_qlht.Text = i_obj_sinh_vien.Ho_Ten_QLHT;
            if (i_obj_sinh_vien.Dien_thoai_QLHT != "" && i_obj_sinh_vien.Dien_thoai_QLHT != null)
                m_txt_dien_thoai_qlht.Text = i_obj_sinh_vien.Dien_thoai_QLHT;
            m_call_id = i_str_call_id;

            if (m_txt_ho_ten.Text.Trim() == "")
            {
                m_cmd_tim_hv_khac.Enabled = true;
                m_chk_hoc_vien_moi.Enabled = true;
                m_chk_hoc_vien_moi.Checked = true;
            }

            //

            this.ShowDialog();
            this.Activate();
        }
Пример #10
0
 public void display_for_update_ndd(US_V_DM_NGUOI_DAI_DIEN ip_us_dm_nguoi_dai_dien)
 {
     m_e_form_mode = e_form_mode.SUA_NGUOI_DAI_DIEN;
     m_us_dm_nguoi_dai_dien = ip_us_dm_nguoi_dai_dien;
     this.ShowDialog();
 }
Пример #11
0
 public void display_for_insert_ndd(decimal ip_dc_id_to_chuc)
 {
     m_e_form_mode = e_form_mode.THEM_NGUOI_DAI_DIEN;
     m_dc_id_to_chuc = ip_dc_id_to_chuc;
     this.ShowDialog();
 }
Пример #12
0
 public void display_for_update_cau_hoi(US_V_DM_CAU_HOI ip_us_dm_cau_hoi)
 {
     m_e_form_mode = e_form_mode.SUA_CAU_HOI;
     m_us_dm_cau_hoi = ip_us_dm_cau_hoi;
     m_us_dm_cau_tra_loi.get_obj_by_id_cau_hoi();
     this.ShowDialog();
 }
Пример #13
0
 public void display_for_them_cau_tra_loi(US_V_DM_CAU_HOI ip_us_dm_cau_hoi)
 {
     m_e_form_mode = e_form_mode.THEM_CAU_TRA_LOI;
     m_us_dm_cau_hoi = ip_us_dm_cau_hoi;
     this.ShowDialog();
 }
Пример #14
0
 public void display_for_insert_cau_hoi()
 {
     m_e_form_mode = e_form_mode.THEM_CAU_HOI;
     this.ShowDialog();
 }
Пример #15
0
 public void display_for_update_ndd(US_V_DM_NGUOI_DAI_DIEN ip_us_dm_nguoi_dai_dien)
 {
     m_e_form_mode          = e_form_mode.SUA_NGUOI_DAI_DIEN;
     m_us_dm_nguoi_dai_dien = ip_us_dm_nguoi_dai_dien;
     this.ShowDialog();
 }
Пример #16
0
 public void display_for_insert_ndd(decimal ip_dc_id_to_chuc)
 {
     m_e_form_mode   = e_form_mode.THEM_NGUOI_DAI_DIEN;
     m_dc_id_to_chuc = ip_dc_id_to_chuc;
     this.ShowDialog();
 }