c# .net change label text

前端 未结 6 1850
眼角桃花
眼角桃花 2021-01-05 07:21

Hello for I trying to use this code but for some reason it doesn\'t work. Really need help with this. The problem is that the label doesn\'t change name from \"label\" when

6条回答
  •  轮回少年
    2021-01-05 07:57

    Old question, but I had this issue as well, so after assigning the Text property, calling Refresh() will update the text.

    Label1.Text = "Du har nu lånat filmen:" + test;
    Refresh();
    

提交回复
热议问题