Example #1
0
        // 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);
            }
        }
Example #2
0
        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);
            }
        }