0

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#.
Please help

code is written below

Dim fields As FieldInfo() = form.[GetType]().GetFields(BindingFlags.Instance Or BindingFlags.DeclaredOnly Or BindingFlags.NonPublic)

Thanks,
Antony

Edited by AntonyLini: n/a

1
Contributor
1
Reply
2
Views
6 Years
Discussion Span
Last Post by AntonyLini
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.