コード例 #1
0
 protected override void RunCommand()
 {
     try
     {
         bMainExit = false;
         if ((fpcx != null) && fpcx.HasShow())
         {
             fpcx.Dispose();
             fpcx.Close();
             fpcx = null;
         }
         SelectMonth.IsChaxun = true;
         DateTime cardClock = TaxCardFactory.CreateTaxCard().GetCardClock();
         fpcx         = base.ShowForm <FaPiaoChaXunShow>() as FaPiaoChaXunShow;
         fpcx.TabText = "选择发票号码查询";
         fpcx.Text    = "选择发票号码查询";
         fpcx.Month   = cardClock.Month;
         fpcx.Year    = cardClock.Year;
         fpcx.Edit(Aisino.Fwkp.Fpkj.Form.FPCX.FaPiaoChaXun.EditFPCX.ChaXun);
     }
     catch (Exception exception)
     {
         this.loger.Error(exception.ToString());
     }
 }