I have 2 forms
main form
Form2
Main Form is my startup form and then 2 buttons on the form
button 1 open form2 and main form hidden. button 2 closes and in the form 2 I have a textbox where I write some text
and a button to save the text in a txt. File
Once I've saved my text in txt. file so I click on a button that closes form2 and open main form
My problem is that the button on the main form I should like to have button text is from the txt. file.
And I do not know how I reload the button or form.
if I close the program and start it again, then my button text has change to what i write in txt file..
Someone who can help me ...?
main form
Form2
Main Form is my startup form and then 2 buttons on the form
button 1 open form2 and main form hidden. button 2 closes and in the form 2 I have a textbox where I write some text
and a button to save the text in a txt. File
Once I've saved my text in txt. file so I click on a button that closes form2 and open main form
My problem is that the button on the main form I should like to have button text is from the txt. file.
And I do not know how I reload the button or form.
if I close the program and start it again, then my button text has change to what i write in txt file..
Someone who can help me ...?