1、panel容器 (1)边框默认宽度为1pixel ,即该控件对应的工作区的矩形区域ClientRectangle比控件设定值上、下、左、右边界各小1pixel 。 ClientRectangle.Width=panel.width-1-1;