摘要: private void Button_Paint(object sender, PaintEventArgs e){ Button btn = sender as Button; System.Drawing.Drawing2D.GraphicsPath btnPath = new System.Drawing.Drawing2D.GraphicsPath(); System.Drawing.Rectangle newRectangle = btn.ClientRectangle; newRectangle.Inflate(-1, -1); e.Graphics... 阅读全文
posted @ 2012-11-29 17:53 古兰色回忆 阅读(702) 评论(0) 推荐(0) 编辑
摘要: protected override void OnPaint(System.Windows.Forms.PaintEventArgs e){ GraphicsPath oPath = new GraphicsPath(); int x = 0; int y = 0; int w = Width; int h = Height; int a = 14; Graphics g = CreateGraphics(); oPa... 阅读全文
posted @ 2012-11-29 17:33 古兰色回忆 阅读(810) 评论(0) 推荐(0) 编辑