protected override void LoadDescribe(byte[] data, EPosType ePosType) { base.LoadDescribe(data, ePosType); UpdaterMgr.CodeData = data; FinishHandle?.Invoke(this); }
/// <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); } }
private void Finish() { UpdaterMgr.ResInfoDict = mResInfoDict; FinishHandle?.Invoke(this); }