Dmitriy
Wed Sep 24 08:39:14 CDT 2003
The solution would probably be to open the usercontrol in the designer,
switch to the language-neutral locale and enter all locale-dependent
property values like label texts, sizes and so on.
--
Dmitriy Lapshin [C# / .NET MVP]
X-Unity Test Studio
http://x-unity.miik.com.ua/teststudio.aspx
Bring the power of unit testing to VS .NET IDE
"stoffi" <christoph.piock-ellena@siag.it> wrote in message
news:102901c3829a$49f58ef0$a001280a@phx.gbl...
> and solutions for this ??
>
> if a change the localized of the usercontrol on true in
> my winform the usercontrol it was deleted?
>
> >-----Original Message-----
> >Hi,
> >
> >My suggestion is that the Windows Forms designer first
> instantiates your
> >control with language-neutral locale you don't have
> resources for.
> >
> >--
> >Dmitriy Lapshin [C# / .NET MVP]
> >X-Unity Test Studio
> >
http://x-unity.miik.com.ua/teststudio.aspx
> >Bring the power of unit testing to VS .NET IDE
> >
> >"stoffi" <christoph.piock-ellena@siag.it> wrote in
> message
> >news:d5ca01c3827b$55239750$a601280a@phx.gbl...
> >> Hi
> >> i must develop an multilanguage application (german,
> >> italian). I have a localized winform with the
> description
> >> in this 2 languages. Now i have a Usercontrol which is
> >> localized too. If i would like drag this usercontrol
> from
> >> the toolbox of the vs.net into my winform the vs.net
> give
> >> me the following error:
> >> An exception occurred while trying to create an
> instance
> >> of PFUtilityLibrary.USCWeekDaysCheck. The exception
> >> was "Could not find any resources appropriate for the
> >> specified culture (or the neutral culture) in the given
> >> assembly. Make sure "USCWeekDaysCheck.resources" was
> >> correctly embedded or linked into
> >> assembly "PFUtilityLibrary".
> >> baseName: USCWeekDaysCheck locationInfo:
> >> PFUtilityLibrary.USCWeekDaysCheck resource file name:
> >> USCWeekDaysCheck.resources assembly: PFUtilityLibrary,
> >> Version=1.0.1361.25253, Culture=neutral,
> >> PublicKeyToken=null
> >>
> >> I use the Framework 1.0, somebody have an idea what is
> >> the problem?
> >> thx
> >>
> >
> >.
> >