public Control GetChildAtPoint(Point pt, GetChildAtPointSkip skipValue) { return base.GetChildAtPoint(pt, skipValue); }
public Control GetChildAtPoint(System.Drawing.Point pt, GetChildAtPointSkip skipValue) { }
public Control GetChildAtPoint (Point pt, GetChildAtPointSkip skipValue) { // MS's version causes the handle to be created. The stack trace shows that get_Handle is called here, but // we'll just call CreateHandle instead. if (!IsHandleCreated) CreateHandle (); // Microsoft's version of this function doesn't seem to work, so I can't check // if we only consider children or also grandchildren, etc. // I'm gonna say 'children only' foreach (Control child in Controls) { if ((skipValue & GetChildAtPointSkip.Disabled) == GetChildAtPointSkip.Disabled && !child.Enabled) continue; else if ((skipValue & GetChildAtPointSkip.Invisible) == GetChildAtPointSkip.Invisible && !child.Visible) continue; else if ((skipValue & GetChildAtPointSkip.Transparent) == GetChildAtPointSkip.Transparent && child.BackColor.A == 0x0) continue; else if (child.Bounds.Contains (pt)) return child; } return null; }
public Control GetChildAtPoint (Point pt, GetChildAtPointSkip skipValue) { // Microsoft's version of this function doesn't seem to work, so I can't check // if we only consider children or also grandchildren, etc. // I'm gonna say 'children only' foreach (Control child in Controls) { if ((skipValue & GetChildAtPointSkip.Disabled) == GetChildAtPointSkip.Disabled && !child.Enabled) continue; else if ((skipValue & GetChildAtPointSkip.Invisible) == GetChildAtPointSkip.Invisible && !child.Visible) continue; else if ((skipValue & GetChildAtPointSkip.Transparent) == GetChildAtPointSkip.Transparent && child.BackColor.A == 0x0) continue; else if (child.Bounds.Contains (pt)) return child; } return null; }
public new Control GetChildAtPoint(Point pt, GetChildAtPointSkip skipValue) { throw null; }
public new Control GetChildAtPoint(Point pt, GetChildAtPointSkip skipValue) { return(base.GetChildAtPoint(pt, skipValue)); }
public abstract Control GetChildAtPoint(Point pt, GetChildAtPointSkip skipValue);
public ControlViewModel GetChildAtPoint(Point point, GetChildAtPointSkip skip) //IControl { throw new NotImplementedException(); }