I have a form that has 24 textboxes in it, I am using the code below so that when the program is running, it will not show the border around the texbox.
Is there a easy way to make this code smaler (now 24 lines) .
Code:Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load ' make border none Me.txtTerminator_R.BorderStyle = System.Windows.Forms.BorderStyle.None Me.txtBig_Bang_R.BorderStyle = System.Windows.Forms.BorderStyle.None Me.txtChuck_R.BorderStyle = System.Windows.Forms.BorderStyle.None ...... ...... .....




Reply With Quote