You should use
txtBox.IsEpiReadOnly = true;
Or even better ExtendedProperties.
But if you really need to use Enabled or ReadOnly, which I also use when I have a valid case, you can disable the warning. Let’s face it… ReadOnly and Enabled aren’t really going anywhere, they will remain part of WinForms.
Add this underneath of your using statements.
// one is for Enabled, one is for using return; in a void method
#pragma warning disable 0618, 0162