void IRadioPileViewGroup.onOneRadioChoice(int radioId, IPileView pileView) { foreach(IRadioPileView radioItem in piles) { if(radioItem.RadioId != radioId) { radioItem.unChoice(); } } this.curChosenPileView = pileView; this.on1PileChosen(); }
void IRadioPileViewGroup.onOneRadioChoice(int radioId, IPileView pileView) { foreach (IRadioPileView radioItem in piles) { if (radioItem.RadioId != radioId) { radioItem.unChoice(); } } this.curChosenPileView = pileView; this.on1PileChosen(); }
private void removeChosenPiles() { if (null != this.curChosenAnswerPile) { this.curChosenAnswerPile.unChoice(); //this.curChosenAnswerPile.cleanMark(); this.curChosenAnswerPile = null; } if (null != this.curChosenAskPile) { this.curChosenAskPile.unChoice(); //this.curChosenAskPile.cleanMark(); this.curChosenAskPile = null; } }
internal void onAskPileChosen(IPileView pileView) { this.answerVerifier.CurChosenAskPile = pileView; this.answerVerifier.verifyDo(); }