Esempio n. 1
0
        public void PopActiveSetting()
        {
            bool was        = (bool)ActiveStack.Pop();
            bool newSetting = (bool)ActiveStack.Peek();

            if (was != newSetting)
            {
                NotifyEnabledChanged();
            }
        }
Esempio n. 2
0
        public void PushActiveSetting(bool newSetting)
        {
            bool was = (bool)ActiveStack.Peek();

            ActiveStack.Push(newSetting);
            if (was != newSetting)
            {
                NotifyEnabledChanged();
            }
        }