how can I make this [C#]

Stormy

Member
Apr 11, 2013
69
11
Hello everyone,

I have a question. How can I make something
I can change the text of label1
in an xml file (config)

Thanks in advance.
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,637
2,389
I, for one, have no clue what you're on about.

Can you show us a visual example of what you're trying to achieve, or maybe just explain it better?
 

Stormy

Member
Apr 11, 2013
69
11
Look you have a label1 and the text is "hello"
Now I want a config (xml) where I can change the text "hello" to "hello12345"
Do you understand me?
 

Markshall

Русский Стандарт
Contributor
Dec 18, 2010
2,637
2,389


Read that, and then from there do a statement that will set the value of the Label to the value from the XML file.

We're not going to spoon-feed you or you'll never learn.
 

Adil

DevBest CEO
May 28, 2011
1,276
714
It's very easy lol.
As Mark said, parse an XML file (there are SO MANY C# RESOURCES FOR THIS) then set the value of the label with the parsed content.
 

Users who are viewing this thread

Top