Esempio n. 1
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);
        }
Esempio n. 2
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);
        }
Esempio n. 3
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);
        }
Esempio n. 4
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);
        }
Esempio n. 5
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);
        }