public MidiMessageEventArgs(MidiMessageEventType pEventType, int pDeviceID, IntPtr pDevice, object pMessage)
 {
     this._eventType = pEventType;
     this._deviceID  = pDeviceID;
     this._device    = pDevice;
     this._message   = pMessage;
 }
Exemplo n.º 2
0
 private void RaiseMessageReceived(MidiMessageEventType pEventType, object pData)
 {
     if (this.MessageReceived != null)
     {
         this.ProcessDelegate(this.MessageReceived, new object[]
         {
             this,
             new MidiMessageEventArgs(pEventType, this._deviceID, this._device, pData)
         });
     }
 }