Search code examples
c#propertiesdecodingtabpage

C# want to enable some disabled tab pages in a program and I have its source code


In the source code designer it works fine after I press run its color fades and I can't use all the tab controls, please help and thanks.

https://i.sstatic.net/gi0B0.jpg https://i.sstatic.net/UwtkH.jpg


Solution

  • go through your source code and search for "IsReadOnly". I assume that at some point the code is setting this to true as well as adjusting some other properties. it may be embedded in its own method which is called upon when the program executes because some pre-existing conditions are not met.

    You should add a breakpoint just before that section of the program is loaded and then slowly step through it to find where properties and text-box values are being defined.