I'm trying to make a tic-tac-toe program in C#, but when I was setting up the event handler for clicking the button, I got the error ""button1 is a field, but used as a type" I don't know why this is happening, considering that the program so far is almost identical to the start of my first project in C#, which worked fine. 

```
namespace Project_2
{
    public partial class Form1 : Form
    {
        public delegate void EventHandler(object sender, System.EventArgs e);
        public class Button
        {
            private EventHandler handler;

            public event EventHandler Click
            {
                add { handler += value; }
                remove { handler -= value; }
            }

        }

        public Form1()
        {
            InitializeComponent();
            button1.Click += new System.EventHandler(button1_Click);
            button2.Click += new System.EventHandler(button2_Click);
            button3.Click += new System.EventHandler(button3_Click);
            button4.Click += new System.EventHandler(button4_Click);
            button5.Click += new System.EventHandler(button5_Click);
            button6.Click += new System.EventHandler(button6_Click);
            button7.Click += new System.EventHandler(button7_Click);
            button8.Click += new System.EventHandler(button8_Click);
            button9.Click += new System.EventHandler(button9_Click);

        }
        void button1.Click(object sender, EventArgs e)
        {

        }

    }

}

```

Any and all help is appreciated! Thank you.