public DockStyle HitTest(Point pt) { return Visible && ClientRectangle.Contains(PointToClient(pt)) ? this.DockStyle : DockStyle.None; } }