摘要:
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... 阅读全文
摘要:
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... 阅读全文