Groups | Blog | Home
all groups > dotnet windows forms > june 2007 >

dotnet windows forms : Designer auto assigning bogus string resource values


Flyte
6/12/2007 9:48:55 AM
Hi All.

We are experiencing weird behavior from the VS2005 designer. It seems
that at random, the designer generated code will assign a global::
resource string to a text property of a control. We see this happening
when the text property has no default value.


In the designer.cs file, it looks like:
this.m_multiWpToSpinCtrl.FormatString =
global::TheNameSpace.Strings.Help_ConvoyDialog_Details;

We are seeing this now in many of our dialogs, but in our previous
release this didn't happen. Does anyone know what is causing this?
Could we have set some property or setting on the project that causes
the designer to stick in these global:: resource strings?

Help!
Flyte
6/15/2007 3:19:04 PM
[quoted text, click to view]

Any ideas on this?
AddThis Social Bookmark Button