Windows Develop Bookmark and Share   
 index > Windows Forms Designer > Switching between languages on a localized form resets bindingsource on form
 

Switching between languages on a localized form resets bindingsource on form

Hello

I have a form and on the form I have a bindingSource. The form has also been localized to a language let's say Hungarian. The bindingSource is initialized to a dataset and to the correct datamember.

When I start out the language is set to (Default)
Then I change to hungarian
Then I change it back to (Default)

After this looking at the bindingSource the values are gone from DataSource and DataMember.

Is this a bug? Is there any workarounds to stop this... It is very very irritating!

Thanks,

Krisztian

gyurisc  Sunday, March 26, 2006 10:36 PM

I have same problem.

In my case, it occurs on forms or user-controls which has an ErrorProvider.

After modifying DataGridView's propertiesunder non-default language mode,many properties of a DataGridView ora BindingSource are saved in non-default resx file.
But some properties should be saved in default resx file or auto-generated code in
*.designer file.
It seems to causes disappear of DataSource. It also causes compiler error of the localized
resx file.

mrcs  Wednesday, April 19, 2006 10:56 AM

You can use google to search for other answers

Custom Search

More Threads

• cannot access a disposed object Object name: 'Microsoft.VisualStudio.Design.VSDedignSurface'
• How to host a WebControl in my custom designer
• I want to have a WinForm screen like a IE screen with vertical scrollbar, with Form1.Size(1036,780) more than Max Height.
• User Login + Menu Role
• screen.width
• Usercontrol inheritance stopped working in designer (VS 2005)
• What is the name of the active tab of a TabControl?
• Suggestion for ComponentDesigner.SelectionRules and DesignSurface
• Get the parent Control object...
• DataGridView Control Properties Have Disappeared.