Hi Julie,
A trick for you:
1.Create a custom TextBox which sets the ReadOnly property toTrue by default:
Public Class ReadOnlyTextBox
Inherits TextBox
Public Sub New()
MyBase.New()
Me.ReadOnly = True
End Sub
End Class
2. Build the class.
3. Press Ctrl+Shift+H keys to open the Find and Replace dialog;
4. Type System.Windows.Forms.TextBox in the "Find What" box;
5. Type ReadOnlyTextBox in the "Replace with" box;
6. Check "Match cases" and "Match whole word" options;
7. Click "Replace All".
8. Rebuild your project.
After the steps, all of the TextBoxes in the entire solution become read only.
Best Regards,
Zhi-Xin Ye