private void button4_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(77, 177, 81), Color.FromArgb(77, 177, 81)); base.OnPaint(e); Graphics g = e.Graphics; g.DrawString("体质辨识(计算)", new System.Drawing.Font("微软雅黑", 12, System.Drawing.FontStyle.Regular), new SolidBrush(Color.White), new PointF(6, 5)); }
private void panel11_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(170, 171, 171), Color.FromArgb(170, 171, 171)); base.OnPaint(e); Graphics g = e.Graphics; g.DrawString("使用说明书", new Font("微软雅黑", 12, FontStyle.Regular), new SolidBrush(Color.White), new PointF(6, 4)); }
private void btnNext_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(81, 95, 154), Color.FromArgb(81, 95, 154)); base.OnPaint(e); Graphics g = e.Graphics; g.DrawString("下一张", new System.Drawing.Font("微软雅黑", 12, System.Drawing.FontStyle.Regular), new SolidBrush(Color.White), new PointF(10, 5)); }
private void button5_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(77, 177, 81), Color.FromArgb(77, 177, 81)); base.OnPaint(e); Font font = new Font("微软雅黑", 12F); Brush bush = Brushes.White; ControlCircular.DrawFont(e, "查询", font, bush); }
private void btnUpload_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(81, 95, 154), Color.FromArgb(81, 95, 154)); base.OnPaint(e); Font font = new Font("微软雅黑", 14F); Brush bush = Brushes.White; ControlCircular.DrawFont(e, "数据上传", font, bush); }
private void panel11_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(170, 171, 171), Color.FromArgb(170, 171, 171)); base.OnPaint(e); Font font = new Font("微软雅黑", 10F); Brush bush = Brushes.White; ControlCircular.DrawFont(e, "使用说明书", font, bush); }
private void btnCancel_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(170, 171, 171), Color.FromArgb(170, 171, 171)); base.OnPaint(e); Graphics g = e.Graphics; g.DrawString("暂不授权", new System.Drawing.Font("微软雅黑", 12, System.Drawing.FontStyle.Regular), new SolidBrush(Color.White), new PointF(15, 5)); }
private void button2_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(81, 95, 154), Color.FromArgb(81, 95, 154)); base.OnPaint(e); string wenzi = "修改"; Font font = new Font("微软雅黑", 14F); Brush bush = Brushes.White; ControlCircular.DrawFont(e, wenzi, font, bush); }
private void button1_Paint(object sender, PaintEventArgs e) { Color color = Color.FromArgb(77, 177, 81); ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, color, color); base.OnPaint(e); Graphics g = e.Graphics; g.DrawString("查询", new Font("微软雅黑", 9, System.Drawing.FontStyle.Regular), new SolidBrush(Color.White), new PointF(15, 5)); }
private void button2_Paint(object sender, PaintEventArgs e) { if (isPaint) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(170, 171, 171), Color.FromArgb(170, 171, 171)); } else { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 6, false, Color.FromArgb(193, 193, 193), Color.FromArgb(193, 193, 193)); } base.OnPaint(e); Font font = new Font("微软雅黑", 13F); Brush bush = Brushes.White; ControlCircular.DrawFont(e, "初始化", font, bush); }
private void panel5_Paint(object sender, PaintEventArgs e) { ControlCircular.Draw(e.ClipRectangle, e.Graphics, 10, false, Color.FromArgb(255, 255, 255), Color.FromArgb(255, 255, 255)); base.OnPaint(e); }