While trying to run my program an error occurs on this method and I cannot figure out why.
private void button1_Click(object sender, EventArgs e) {