http://www.c-sharpcorner.com/Code/2002/Oct/RayTracing.asp

解决方案 »

  1.   

    很简单,你把一个GroupBox拖进去,把它的Text属性设为空,然后再把它拉成一条线就行啦!
      

  2.   

    在paint事件中加入:System.Windows.Forms.ControlPaint.DrawButton(e.Graphics,
      this.ClientRectangle,
      System.Windows.Forms.ButtonState.Normal);
      

  3.   

    我的意思和《花脸猫》一样,他的方法我用过,可是仔细一看GroupBox作的3D线,线的右端后面有点不好看。大家看一看有没有更好的方法?