GDI+画图问题,请高手指点 你没有画呀,你的Draw函数最后加个g.DrawPath(Pens.Black, roundedRect); 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 private void Draw(Graphics g, Rectangle rect){ GraphicsPath roundedRect = new GraphicsPath(); roundedRect.AddArc(rect.X, rect.Y, rect.Width, rect.Height, 0, 360); roundedRect.CloseFigure(); Region pathRegion = new Region(roundedRect); g.FillRegion(new SolidBrush(Color.Yellow), pathRegion);} Xml保存Ico 简单的问题,送分了 一个怪异线程问题 xsd的问题,不知有没人这么做过? 怎样才能做个摇奖程序?最好用c#! 请教C#中ListView设置OwnerDraw=true;View=Detail后,不能进入DrawSubItem事件? 高手进来瞧瞧啊 俺都急的想哭了!!! 控制打印的问题. winform在任意文件上右键启动程序,获去文件的属性(路径等) webform中数据库Update的问题 如何把一个变量的字符串型转成日期型 asp.net 前后台交互问题
{
GraphicsPath roundedRect = new GraphicsPath();
roundedRect.AddArc(rect.X, rect.Y, rect.Width, rect.Height, 0, 360);
roundedRect.CloseFigure();
Region pathRegion = new Region(roundedRect);
g.FillRegion(new SolidBrush(Color.Yellow), pathRegion);
}