private IStarEvaluation CreateStar(ResEvaluateStarInfo ConditionDetail) { StarEvaluation starEvaluation = new StarEvaluation(); starEvaluation.OnChanged += new OnEvaluationChangedDelegate(this.OnEvaluationChangedInner); starEvaluation.Index = 0; starEvaluation.Initialize(ConditionDetail); return starEvaluation; }
protected IStarEvaluation CreateStar(ResEvaluateStarInfo ConditionDetail, int InIndex) { StarEvaluation starEvaluation = new StarEvaluation(); starEvaluation.OnChanged += new OnEvaluationChangedDelegate(this.OnEvaluationChangedInner); starEvaluation.Index = InIndex; starEvaluation.Initialize(ConditionDetail); return(starEvaluation); }