Esempio 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()));
        }
Esempio 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()));
        }
Esempio n. 3
0
 public void HandleMouseDown(MouseEvtWithElement me) => this.sMouseDown.Send(me);
Esempio n. 4
0
 public EvtDown(MouseEvtWithElement me)
     : base(me)
 {
     this.Me = me;
 }
Esempio n. 5
0
 public void HandleMouseDown(MouseEvtWithElement me)
 {
     Task.Run(() => [email protected](new EvtDown(me), this.cts.Token));
 }
Esempio n. 6
0
 public void HandleMouseDown(MouseEvtWithElement me) => this.sMouseDown.Send(me);
Esempio n. 7
0
 public EvtDown(MouseEvtWithElement me)
     : base(me)
 {
     this.Me = me;
 }
Esempio n. 8
0
 public void HandleMouseDown(MouseEvtWithElement me)
 {
     Task.Run(() => [email protected](new EvtDown(me), this.cts.Token));
 }