Click here to Skip to main content
15,881,380 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to change font of textbox in form 1 (which is my mainform of windows form application) by selecting a font in fontdialog box on button event in form2
Posted
Updated 28-Oct-13 20:51pm
v3
Comments
BillWoodruff 29-Oct-13 2:39am    
Is this a Windows Forms application, and is Form1 your "main form" which creates and shows Form2 ? Please clarify.
Member 10323417 29-Oct-13 2:47am    
yes form1 is my main form.
BillWoodruff 29-Oct-13 3:10am    
Does Form1 create an instance of Form2 and "show" it ?

1 solution

I recommend you to refer this article.

i have found solution to my problem.
it may helps you too.

http://www.htmlgoodies.com/beyond/javascript/article.php/3471111/A-Quick-Tutorial-on-JavaScript-Variable-Passing.htm[^]

Or to pass value to the another page control you can use Session or cookie or viewState.

Hope This Help
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900