im creating a VB.net program that is basically tic-tac-toe. what i want to do is make it so when i click a checkbox, it will change the forecolor to blue and lock it. And then generate a random number between 1-9 and change the color of that # checkbox's forecolor to red, check it, and lock that also (like the computer playing its turn). Once someone gets 3 in a row, a message box should appear that says
Code:
str_winner & "has won the game!"
this is what i have so far

Code:
CheckBox1.BackColor = System.Drawing.Color.Blue