im starting to code with c# and i have a problem. Basically, i want to jump colors clockwise. For example, if i click the orange button the gold button turns white and the second button turns gold. I want to do that for all buttons until the button bellow gold button be gold and the others stay white (clockwise)
You can see what i explained above in this image.
The only code that i have for now is:
if (button9.Enabled)
{
button2.BackColor = Color.Gold;
button1.BackColor = Color.White;
}
Button 9 is the jump button.
If you could help me i would be very grateful.
Here is an simple WinForm example
You can follow the serial number (1.1 ~ 4.2) in the code comment to get the code idea :)