示例#1
0
        protected override void OnPropertyChanged(CommonObjects.ObservablePropertyBase opb)
        {
            if (opb.PropertyName == PROPERTY_NAME_TOURNAMENT_GROUP_ID)
            {
                m_tournamentGroup = null;
            }
            else if (opb.PropertyName == PROPERTY_NAME_SPORT_GROUP_ID)
            {
                m_sportGroup = null;
            }

            base.OnPropertyChanged(opb);
        }
示例#2
0
        protected override void OnPropertyChanged(CommonObjects.ObservablePropertyBase opb)
        {
            base.OnPropertyChanged(opb);

            if (opb.PropertyName == "Active")
            {
                DoPropertyChanged("Visibility");
            }
            if (opb.PropertyName == "IsManuallyDisabled")
            {
                DoPropertyChanged("Visibility");
            }
        }