C#: How to bind the text of a winforms button to a resource

后端 未结 6 1788
刺人心
刺人心 2021-01-02 21:32

We have a resource file with lots of translated strings used various places in our application. Is there a better way for binding for example the text of a button to a certa

6条回答
  •  死守一世寂寞
    2021-01-02 22:08

    This will extract the the value of Home keyword and populate into the Text1 Box.

    Text1.Text= Resource.Home.ToString();
    

提交回复
热议问题