4
Answers

How to referesh a winform

Photo of Munesh Sharma

Munesh Sharma

10y
724
1
there is a from called mainform there is a button update when i click on button a popup window open and update some text after closing this popup window this text should be show in mainform textbox. how to solve in C#

Answers (4)

0
Photo of Anshuman Sharma
NA 116 406 10y
use this code in your mainform 


popupForm frm = new 
popupForm ();
frm.showdialog();

textbox1.text=frm.value;

Accepted
0
Photo of Munesh Sharma
NA 17.1k 2.4m 10y
thank you anshuman it is working 
0
Photo of Munesh Sharma
NA 17.1k 2.4m 10y
yes anshuman it is a new form
0
Photo of Anshuman Sharma
NA 116 406 10y
What is the mean by popup window..??


is it a new form.?