static void OnButtonPressed(Message m, MFLButton button) { var e = ButtonPressed; if (e != null) { e(button); } m.ReceiverDescription = "Button " + button.ToStringValue(); }
static void OnButtonReleased(Message m, MFLButton button) { m.ReceiverDescription = "MFL " + button.ToStringValue() + " released"; }