Exemplo n.º 1
0
        protected override void TouchUpMessage(object sender, point point, ref bool handled)
        {
            if (Children == null || ActiveChild == null)
            {
                base.TouchUpMessage(sender, point, ref handled);
            }
            else
            {
                ActiveChild.SendTouchUp(this, point);
                handled = true;

                if (_bMove)
                {
                    _bMove  = false;
                    _buffer = null;
                    ((Shortcut)ActiveChild).Location = new point(_mX, _mY);
                    ActiveChild = null;
                }
            }
            base.TouchUpMessage(sender, point, ref handled);
        }