Example #1
0
 public MainWindow()
 {
     InitializeComponent();
     channel = new TuioChannel();
     TuioChannel.OnTuioRefresh += TuioChannel_OnTuioRefresh;
     InitTrayIcon();
     SetStatus(TouchInjectorStatus.Initializing);
 }
Example #2
0
        private async void ConnectTUIO()
        {
            channel = new TuioChannel();
            TuioChannel.OnTuioRefresh += TuioChannel_OnTuioRefresh;
            bool touch = await InitTouch();

            bool tuio = await ConnectChannel();

            targetArea = System.Windows.Forms.Screen.AllScreens[0].Bounds;
        }