示例#1
0
        protected virtual void OnRaiseUIElementPressedEvent(UIElementPressedEventArgs e)
        {
            EventHandler <UIElementPressedEventArgs> handler = RaiseUIElementPressedEvent;

            // Event will be null if there are no subscribers
            if (handler != null)
            {
                handler(this, e);
            }
        }
示例#2
0
        protected virtual void OnRaiseUIElementPressedEvent(UIElementPressedEventArgs e)
        {
            EventHandler<UIElementPressedEventArgs> handler = RaiseUIElementPressedEvent;

            // Event will be null if there are no subscribers
            if (handler != null)
            {
                handler(this, e);
            }
        }