0

My program is a translator that load a exe and the resx files that comes with it, edit them, save them and then put them in an assembly (with AS.exe). I can already change the text from controls, but I would like to change the comments associated with it.

I know resource file (.resx) can contain comments ... Link

enter image description here

My problem is that I have the form made from the resource file and when I try to access a control properties, I can only get the name and the text. I want to be able to get and set comment to a control (example: a button name : btnOk, text : Ok, comment : Ok button).

Once the control has the comment, I will save the resource file and I would like the comment to still be there and accessible next time I open the resx.

I put the data in a datagridview this way :

dgv.Rows.Add(new string[] { ctrl.Name, ctrl.Text, "Here should be the comments" });
Community
  • 1
  • 1
LolCat
  • 539
  • 1
  • 11
  • 24

0 Answers0