Example #1
0
        protected override void OnMouseDown(MouseEventArgs e)
        {
            IconTextEditViewInfo vi = ViewInfo as IconTextEditViewInfo;

            if (vi.IsIconClick(e.Location))
            {
                int            newX = e.X - vi.IconRect.Left;
                int            newY = e.Y - vi.IconRect.Top;
                MouseEventArgs ee   = new MouseEventArgs(e.Button, e.Clicks, newX, newY, e.Delta);
            }
            base.OnMouseDown(e);
        }