I am trying some Uiculture change functionality.
In that I need the name and text of controls in a form to change the culture.
I got some Demo project and it is in C#. I tried to make the same functionality with the C#.net and Also using VB.net. But the below mentioned code returns control name with an underscore as prefix. But I don`t want underscore .
Code is actually written in Class library.
It works perfectly in C#.
code is written below
Dim fields As FieldInfo() = form.[GetType]().GetFields(BindingFlags.Instance Or BindingFlags.DeclaredOnly Or BindingFlags.NonPublic)