Beispiel #1
0
        public virtual void OnMouseDown(MouseEventArgs e)
        {
            foreach (SelectBoxHandle sbh in handles)
            {
                if (sbh.HitTest(e.X, e.Y))
                {
                    activeHandle = sbh;
                }
            }

            if (activeHandle != null)
            {
                activeHandle.OnDragStart(e);
            }
        }