Exemplo n.º 1
0
        void m_cmd_nhap_hoc_ItemClick(object sender, ItemClickEventArgs e)
        {
            try
            {
                f315_nhap_hoc v_frm = new f315_nhap_hoc();

                if (IsExistFormName(v_frm)) return;

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