Exemplo n.º 1
0
 private void InitFileCheckInfo(TreeNode treeNode)
 {
     if (treeNode != null)
     {
         RegFileWrapper tag = treeNode.Tag as RegFileWrapper;
         this.lblNSDJH.Text = base.TaxCardInstance.TaxCode;
         this.lblKPJH.Text  = base.TaxCardInstance.Machine.ToString();
         if (tag != null)
         {
             qwe fileContent = tag.FileContent;
             this.lblRJBH.Text  = new string(fileContent.SoftwareID);
             this.lblRJXLH.Text = fileContent.SerialNo.ToString();
             string str = new string(fileContent.StopDate);
             this.lblSQJZRQ.Text = string.Format("{0}年{1}月{2}日", str.Substring(0, 4), str.Substring(4, 2), str.Substring(6, 2));
             this.lblRJZL.Text   = fileContent.SoftwareType.ToString();
             string str2 = PropertyUtil.GetValue("MAIN_VER");
             string bBDY = "";
             string str4 = new string(fileContent.SoftwareID);
             if (str4.Length == 6)
             {
                 bBDY = this.GetBBDY(str4.Substring(4, 2));
             }
             this.lblZCDY.Text     = bBDY;
             this.lblBBH.Text      = str2;
             this.rtxtVersion.Text = tag.VersionDesc;
             if (tag.ExportFlag && ((int)base.TaxCardInstance.TaxMode == 2))
             {
                 this.btnExport.Visible = true;
             }
             else
             {
                 this.btnExport.Visible = false;
             }
         }
     }
 }
Exemplo n.º 2
0
 public void getSwAddin(qwe.SwAddin _swAddIn)
 {
     swAddin = _swAddIn;
     UpdateCode();
 }