Picture box picture control is not working

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();

        }
        Color a0;
        Color a1;
        Color a2;
        Color a3;
        private ColorDialog _colorDialog = new ColorDialog();
        private FontDialog _aaa = new FontDialog();
        Font a4 = new Font("굴림", 20);



        private void Form1_Load(object sender, EventArgs e)
        {
            a0 = Color.Blue;
            a1 = Color.Red;
            a2 = Color.Blue;
            a3 = Color.Green;


        }

        private void Form1_Paint(object sender, PaintEventArgs e)
        {
            Graphics graphics = e.Graphics;
            Rectangle rect = new Rectangle(250, 160, 250, 100);
            Brush brush = new SolidBrush(a0);
            graphics.FillRectangle(brush, rect);
            //    Font font = new Font("고딕", 20);
            //    graphics.DrawString("HOSEO", font, Brushes.Black, new PointF(320, 190));



        }

        private void pictureBox1_Paint(object sender, PaintEventArgs e)
        {
            SolidBrush a11 = new SolidBrush(a1);
            Graphics B1 = e.Graphics;
            Point[] pts = {
                new Point(0,0), new Point(130,0),
                new Point(65,100)
            };
            B1.FillPolygon(a11, pts);
        }

        private void pictureBox2_Paint(object sender, PaintEventArgs e)
        {
            SolidBrush a22 = new SolidBrush(a2);
            Graphics B2 = e.Graphics;
            B2.FillEllipse(a22, 0, 0, 120, 120);

        }
        private void pictureBox3_Paint(object sender, PaintEventArgs e)
        {
            SolidBrush a33 = new SolidBrush(a3);
            Graphics B3 = e.Graphics;
            B3.FillEllipse(a33, 0, 0, 120, 120);
        }

        private void pictureBox1_Click(object sender, EventArgs e)
        {
            if (_colorDialog.ShowDialog() == DialogResult.OK)
            {
                a0 = _colorDialog.Color;
                a1 = _colorDialog.Color;


            }
            /*
            Graphics ps = this.CreateGraphics();
            Rectangle rect = new Rectangle(250, 160, 250, 100);
            Brush brush = new SolidBrush(a0);
            ps.FillRectangle(brush, rect);
            */

        }
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            if (_colorDialog.ShowDialog() == DialogResult.OK)
            {
                a0 = _colorDialog.Color;
                a2 = _colorDialog.Color;
            }

        }

        private void pictureBox3_Click(object sender, EventArgs e)
        {
            if (_colorDialog.ShowDialog() == DialogResult.OK)
            {
                a0 = _colorDialog.Color;
                a3 = _colorDialog.Color;
            }
        }

        private void pictureBox4_Click(object sender, EventArgs e)
        {

            if (_aaa.ShowDialog() == DialogResult.OK)
            {
                a4 = _aaa.Font;
            }
        }

        private void pictureBox4_Paint(object sender, PaintEventArgs e)
        {
            Graphics graphics = e.Graphics;
            graphics.DrawString("HOSEO", a4, Brushes.Black, new PointF(70, 30));
        }



    }
}

Picture box picture control is not working

What is it supposed to do, and what exactly isn't working?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.