Exemplo n.º 1
0
        public void HandleMouseDown(MouseEvtWithElement me)
        {
            this.lastMe = Maybe.Just(me);

            this.addMessage("classic dragging " + me.Element.Name);
            this.dragInfo.Set(new DragInfo(me, Canvas.GetLeft(me.Element.Polygon).ZeroIfNaN(), Canvas.GetTop(me.Element.Polygon).ZeroIfNaN()));
        }
Exemplo n.º 2
0
        public void HandleMouseDown(MouseEvtWithElement me)
        {
            this.lastMe = Maybe.Just(me);

            this.addMessage("classic dragging " + me.Element.Name);
            this.dragInfo.Set(new DragInfo(me, Canvas.GetLeft(me.Element.Polygon).ZeroIfNaN(), Canvas.GetTop(me.Element.Polygon).ZeroIfNaN()));
        }
Exemplo n.º 3
0
 public void HandleMouseDown(MouseEvtWithElement me) => this.sMouseDown.Send(me);
Exemplo n.º 4
0
 public EvtDown(MouseEvtWithElement me)
     : base(me)
 {
     this.Me = me;
 }
Exemplo n.º 5
0
 public void HandleMouseDown(MouseEvtWithElement me)
 {
     Task.Run(() => [email protected](new EvtDown(me), this.cts.Token));
 }
Exemplo n.º 6
0
 public void HandleMouseDown(MouseEvtWithElement me) => this.sMouseDown.Send(me);
Exemplo n.º 7
0
 public EvtDown(MouseEvtWithElement me)
     : base(me)
 {
     this.Me = me;
 }
Exemplo n.º 8
0
 public void HandleMouseDown(MouseEvtWithElement me)
 {
     Task.Run(() => [email protected](new EvtDown(me), this.cts.Token));
 }