コード例 #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
ファイル: BodyModule.cs プロジェクト: eliaseliasyashar/imBMW
        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
ファイル: BodyModule.cs プロジェクト: temur03/imBMW
 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);
 }