Hello!
Sometimes I found some issues with localized code. E.g. like now. If I try to modify localized code, then strange things happens…
In the past I have had created some control/component to edit paths for some purposes. There were custom buttons with some custom images. I was completely unlocalized. Later I localize it subsequently. It was working till today. Now I would like to change the images, but it doesn't work properly. See attached video.
I guess, that somehow localization causes, that image references were transformed to RESX inner bitmaps. But if I switch to some language form the default one, it causes designer errors. Bitmaps are not accessible in selected localization and generated code disappears!
It is not first time I see similar issue. Sometimes, not often, but sometimes some code disappears. I tear my hair at this situations. It's really uncomfortable and hard to understand. Then I need to implement it again and again and again. And I can't be sure, that next time it will be correct…
Please, how can I fix this issue without implementing old code again and how can I omit this behaviour for the future? Thanks in advance.
Best Regards,
Radim
PS: I am out of office 8. - 12. 5. 2019.