Im just starting off trying to learn C# and im trying some things out.

MessageBox.Show("Hello World");

i++;
if (i > 1)
label1.Text = "You clicked me " + i++ + " times!";

else
label1.Text = "You clicked me 1 time!";

if (checkBox1 == checked);
label1.Text = "You clicked me " + i + " times";

I am trying to make it so you click a button, and a box pops up that says hello world. And it tells you how many times you clicked the button. But now Im trying to make it so you can have a box checked and it stops recording how many times you clicked. Thanks!