I have code on vb.net which is checking radiobutton3 whenever a cell has clicked. But it also works when columnheader or rowheader clicked. How i can make this code inaccesable for columheader and rowheader click?
Private Sub MyDataGridView1_CellMouseClick(sender As Object, e As DataGridViewCellMouseEventArgs) Handles MyDataGridView1.CellMouseClick
RadioButton3.Checked = True
End Sub