ComponentFromPoint() public method

Is the provided point associated with a component.
public ComponentFromPoint ( Point pt ) : Component
pt Point Mouse point.
return System.ComponentModel.Component
Exemplo n.º 1
0
        public Component DesignerComponentFromPoint(Point pt)
        {
            // Ignore call as view builder is already destructed
            if (IsDisposed)
                return null;

            // Ask the current view for a decision
            return ViewManager.ComponentFromPoint(pt);
        }
Exemplo n.º 2
0
        internal Component DesignerComponentFromPoint(Point pt)
        {
            // Ignore call as view builder is already destructed
            if (IsDisposed)
            {
                return(null);
            }

            // Ask the current view for a decision
            return(ViewManager.ComponentFromPoint(pt));
        }