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";
Im just messing around with code to see what I can try out, but 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!


Sign In
Create Account


Back to top









