Disabling one button out of an array without changing the others.
I am currently making a battleship game and I want to know how to disable one button out of the array at a time and when it is a miss it turns grey and if it is a hit it turns red. This is the code I have so far.....
Code:
Imports System
Imports System.Drawing
Imports System.Drawing.Graphics
Public Class Form1
Private btnArray(6, 6) As Button
Private btnPic(6, 6) As PictureBox
Dim g As Graphics