// Clear() public override void Clear() { SimpleScoreStruct old = val; this.val.score.MakeEmpty(); this.val.born = false; if (!old.Equals(this.val) && IsChangedHandlers()) { OnChanged(this, null); } }
public void SetScore(int iNS, int iEW) { SimpleScoreStruct old = val; this.val.score.NS = iNS; this.val.score.EW = iEW; this.val.born = true; if (!old.Equals(this.val) && IsChangedHandlers()) { OnChanged(this, null); } }