When the readonly property of textbox is set to true then back colour turns to grey. i use below code to change the back colour to white
Private Sub TextBox1_ReadOnlyChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.ReadOnlyChanged
If TextBox1.ReadOnly = True Then
TextBox1.BackColor = Color.White
End If
End Sub
How can i make custom control for text box to handel above code so that i dont have to write above code for each and every text box.