How to change text in a textbox on another form in Visual C#?

后端 未结 7 2013
抹茶落季
抹茶落季 2020-12-02 01:30

In Visual C# when I click a button, I want to load another form. But before that form loads, I want to fill the textboxes with some text. I tried to put some commands to d

7条回答
  •  长情又很酷
    2020-12-02 01:36

    I also had the same doubt, So I searched on internet and found a good way to pass variable values in between forms in C#, It is simple that I expected. It is nothing, but to assign a variable in the first Form and you can access that variable from any form. I have created a video tutorial on 'How to pass values to a form'

    Go to the below link to see the Video Tutorial.

    Passing Textbox Text to another form in Visual C#

提交回复
热议问题