Exemple #1
0
 protected override void LoadFormDetail()
 {
     try
     {
         var frm1 = new FrmRptkiemtraloilogic {
             Check = false
         };
         frm1.ShowDialog();
         if (frm1.rdoone.Checked && frm1.Check)
         {
             Rptdanhsach();
         }
         else if (frm1.rdoall.Checked && frm1.Check)
         {
             var frm = new FrmGopKetQua {
                 Check = false
             };
             frm.ShowDialog();
             _list = frm.LstIdKyThi;
             if (_list.Count > 1 && frm.Check)
             {
                 RptKtralogic();
             }
         }
     }
     catch (Exception ex)
     {
         Log2File.LogExceptionToFile(ex);
     }
 }
        protected override void LoadFormDetail()
        {
            try
            {
                var frm1 = new FrmRptkiemtraloilogic {Check = false};
                frm1.ShowDialog();
                if (frm1.rdoone.Checked && frm1.Check)
                {
                    Rptdanhsach();
                }
                else if (frm1.rdoall.Checked && frm1.Check)
                {
                    var frm = new FrmGopKetQua { Check = false };
                    frm.ShowDialog();
                    _list = frm.LstIdKyThi;
                    if (_list.Count > 1 && frm.Check)
                    {
                        RptKtralogic();
                    }
                }

            }
            catch (Exception ex)
            {
                Log2File.LogExceptionToFile(ex);
            }
        }
 protected override void LoadFormDetail()
 {
     try
     {
         var frm = new FrmGopKetQua { Check = false };
         frm.ShowDialog();
         _list = frm.LstIdKyThi;
         if (_list.Count>0 && frm.Check)
         {
             var thread = new Thread(LoadGrid) {IsBackground = true};
             thread.Start();
             OnShowDialog("Loading...");
         }
     }
     catch (Exception ex)
     {
         Log2File.LogExceptionToFile(ex);
     }
 }