public void buttonReleased(SquareTuioObject squareTui, SquareTUIButton button) { if (dispatcher.CheckAccess()) { listener.buttonReleased(squareTui, button); } else { object[] e = new object[] { squareTui, button }; dispatcher.Invoke(DispatcherPriority.DataBind, (SendOrPostCallback) delegate { buttonReleasedImpl(e); }, e); } }
public void buttonReleased(SquareTuioObject squareTui, SquareTUIButton button) { Console.WriteLine("button released " + squareTui.SymbolID + " " + squareTui.SessionID + " " + button); }