Пример #1
0
        static void OnRemoteKeyButton(Message m, RemoteKeyButton button)
        {
            var e = RemoteKeyButtonPressed;

            if (e != null)
            {
                e(new RemoteKeyEventArgs(button));
            }
            m.ReceiverDescription = "Remote key: '" + button.ToStringValue() + "' was pressed";
        }
Пример #2
0
        static void OnRemoteKeyButton(Message m, RemoteKeyButton button)
        {
            var e = RemoteKeyButtonPressed;

            if (e != null)
            {
                e(new RemoteKeyEventArgs(button));
            }
            m.ReceiverDescription = "Remote key press " + button.ToStringValue() + " button";
            Logger.Info(m.ReceiverDescription);
        }
Пример #3
0
 static void OnRemoteKeyButton(Message m, RemoteKeyButton button)
 {
     var e = RemoteKeyButtonPressed;
     if (e != null)
     {
         e(new RemoteKeyEventArgs(button));
     }
     m.ReceiverDescription = "Remote key press " + button.ToStringValue() + " button";
     Logger.Info(m.ReceiverDescription);
 }