Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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));
        }
Exemplo n.º 3
0
        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));
        }
Exemplo n.º 4
0
        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);
        }
Exemplo n.º 5
0
        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);
        }
Exemplo n.º 6
0
        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);
        }
Exemplo n.º 7
0
        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));
        }
Exemplo n.º 8
0
        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);
        }
Exemplo n.º 9
0
        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));
        }
Exemplo n.º 10
0
        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);
        }
Exemplo n.º 11
0
 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);
 }