Example #1
0
        protected override void LoadDescribe(byte[] data, EPosType ePosType)
        {
            base.LoadDescribe(data, ePosType);

            UpdaterMgr.CodeData = data;
            FinishHandle?.Invoke(this);
        }
Example #2
0
 /// <summary>
 /// 开始生成
 /// </summary>
 private void StartGen()
 {
     try
     {
         GenCodeHandler.GenCode(WaitGenProjectInfo);
     }
     catch (Exception ex)
     {
         this.IsError = true;
         MessageBox.Show(GenCodeToolResource.GenFaild + System.Environment.NewLine + ex.Message, GenCodeToolResource.ErrorTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
     finally
     {
         this.Complete = true;
         FinishHandle finish = new FinishHandle(OnFinish);
         this.Invoke(finish);
     }
 }
Example #3
0
 private void Finish()
 {
     UpdaterMgr.ResInfoDict = mResInfoDict;
     FinishHandle?.Invoke(this);
 }