c# - Assigning text of controls from Resources in VS form desinger -


My strings are present in the manually created resx file. I am creating a new C # windows form in my app I want to make several label controls, I want to point to the text of the controls set up by resources, rather than instead of hard coding in the properties panel.

Is there a way for the designer to generate strings from the resources generated by my resources?

I have some formations with VS Form Desir, and want strings to go from resources.

Please advice, thanks,

  // using the system Name spaces required. Resources; Using the system. // Create resource manager assembly assembly = this.GetType (). Assembly; //ResFile.Strings-> & Lt; Namespace & gt; & Lt; Resource filename i.e. Strings.xx Resman = New Resource Manager ("String Resources Association", Assembly); // Client strClientName = load the value of string value for resman.GetString ("IDS_MESSAGE");    

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -