解决方案 »

  1.   


    我现在就是不会把边框绘成扇形,更改边框的样式。楼上已经说了用 graphics.drawpath(graphicsPath);重写代码,直接可以用的
    我这里画的是线,你把方法换掉就行了,重写类,继承自 pictureBoxprivate int WM_PAINT = 0x000F;
            protected override void WndProc(ref Message m)
            {
                base.WndProc(ref m);            if (m.Msg == WM_PAINT)
                {
                    Pen pen = new Pen(SystemColors.Highlight, 1.5f);
                    using (Graphics g = this.CreateGraphics())
                    {
                        g.DrawLine(pen, new Point(0, this.Size.Height - 1), new Point(this.Size.Width, this.Size.Height - 1));
                    }
                }
            }
      

  2.   

    我觉得是不是你可以用ps先做一个图片,然后把picturebox设置背景颜色透明,然后加载这个图片做picturebox的背景图片?
    不太懂,呵呵