It means you need a return statement just before the last curly brace.
BTW, I'd do the same method this way:
private int col1_button_click(int count)
{
count++;
if (count >= 2)
{
count = 0;
}
return count;
}
It's bad practice to have more than one exit point in a method. Whenever possible, you should avoid it.