Exemplo n.º 1
0
        public bool this[string button]
        {
            get
            {
                return(Source.StickyIsInEffect(button) ||
                       SourceStickyOr.StickyIsInEffect(button));
            }

            set
            {
                throw new InvalidOperationException();
            }
        }
Exemplo n.º 2
0
 public bool IsPressed(string button)
 {
     return(Source.StickyIsInEffect(button) ||
            SourceStickyOr.StickyIsInEffect(button));
 }