Ejemplo n.º 1
0
        public void MouseLeft(MouseEventArgs e)
        {
            this.m_DragActive = false;
            this.Focus();
            Control  controlBase    = this.ControlBase;
            IUIInput uIInputControl = this.GetUIInputControl(e);

            if (uIInputControl != null)
            {
                uIInputControl.IsMouseDown   = true;
                uIInputControl.IsMouseActive = false;
                uIInputControl.IsKeyDown     = false;
                uIInputControl.IsKeyActive   = false;
                if (controlBase != null)
                {
                    controlBase.Cursor = uIInputControl.GetMouseCursor(e);
                }
                uIInputControl.MouseLeft(e, true);
            }
            this.m_MouseDownControl = uIInputControl;
            this.ControlBase.UIInvalidate(this);
        }