//void m_cmd_search_2_Click(object sender, EventArgs e)
 //{
 //    try
 //    {
 //        load_data_2_grid();
 //    }
 //    catch (Exception v_e)
 //    {
 //        CSystemLog_301.ExceptionHandle(v_e);
 //    }
 //}
 void m_cmd_chon_hs_Click(object sender, EventArgs e)
 {
     try
     {
         f220_cap_nhat_thong_tin_hoc_sinh v_frm = new f220_cap_nhat_thong_tin_hoc_sinh();
         if (v_frm.select_hoc_sinh(ref m_us_v_hoc_sinh) == System.Windows.Forms.DialogResult.OK)
         {
             m_txt_chon_hs.Text = m_us_v_hoc_sinh.strHO_TEN;
             m_cbo_nhap_vao_lop_mon.Focus();
         }
     }
     catch (Exception v_e)
     {
         CSystemLog_301.ExceptionHandle(v_e);
     }
 }
 private void m_cmd_chon_hs_Click(object sender, EventArgs e)
 {
     try
     {
         f220_cap_nhat_thong_tin_hoc_sinh v_frm = new f220_cap_nhat_thong_tin_hoc_sinh();
         v_frm.select_hoc_sinh(ref m_us_v_hoc_sinh);//co sưa lay us_v_hoc_sinh
         if (m_us_v_hoc_sinh.dcID == -1)
         {
             return;
         }
         m_txt_ho_ten_hs.Text = m_us_v_hoc_sinh.strMA_DOI_TUONG + " - " + m_us_v_hoc_sinh.strHO_TEN;//lay ho ten tu view us_v_hoc_sinh ban dau la us_v_dm_hoc_sinh
         m_lbl_ten_hs.Text = m_txt_ho_ten_hs.Text;
     }
     catch (Exception v_e)
     {
         CSystemLog_301.ExceptionHandle(v_e);
     }
 }
Esempio n. 3
0
        void m_cmd_cap_nhat_hs_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                f220_cap_nhat_thong_tin_hoc_sinh v_frm = new f220_cap_nhat_thong_tin_hoc_sinh();
                if (IsExistFormName(v_frm)) return;

                v_frm.MdiParent = this;
                v_frm.Show();
            }
            catch (Exception v_e)
            {
                CSystemLog_301.ExceptionHandle(v_e);
            }
        }
 void m_cmd_cap_nhat_thong_tin_hs_Click(object sender, EventArgs e)
 {
     try {
         f220_cap_nhat_thong_tin_hoc_sinh v_frm = new f220_cap_nhat_thong_tin_hoc_sinh();
         m_tab_add.AddTab(xtraTabControl1, v_frm.Name, v_frm.Text, v_frm, new UserControl());
     }
     catch (Exception v_e) {
         CSystemLog_301.ExceptionHandle(v_e);
     }
 }