public SubstitutionsEditor()
 {
     this.Build();
     tagger              = new LMTeamTaggerView(new WidgetWrapper(drawingarea));
     incanvas            = new SelectionCanvas(new WidgetWrapper(drawingarea2));
     outcanvas           = new SelectionCanvas(new WidgetWrapper(drawingarea3));
     inpo                = new LMPlayerView();
     outpo               = new LMPlayerView();
     inpo.ClickedEvent  += HandleClickedEvent;
     outpo.ClickedEvent += HandleClickedEvent;
     inpo.Size           = PLAYER_SIZE;
     outpo.Size          = PLAYER_SIZE;
     inpo.Center         = new Point(PLAYER_SIZE / 2, PLAYER_SIZE / 2);
     outpo.Center        = new Point(PLAYER_SIZE / 2, PLAYER_SIZE / 2);
     incanvas.AddObject(inpo);
     outcanvas.AddObject(outpo);
     drawingarea2.WidthRequest = drawingarea2.HeightRequest = PLAYER_SIZE;
     drawingarea3.WidthRequest = drawingarea3.HeightRequest = PLAYER_SIZE;
 }
        void HandleClickedEvent(ICanvasObject co)
        {
            LMPlayerView po = co as LMPlayerView;

            po.ViewModel.Tagged = !po.ViewModel.Tagged;
        }