Passing values from one form to another form
The program i have attached is a simple poker program. Within the program i have a question regarding how to pass values from one form to another. If you open up the project you will see two forms one the main and the other the error enter bet form. My question is when I click the buttons on the enter bet form I want it to add up the bet then take that amount and subtract it from the player bank label from the LetitRideForm. Thanks for any help.
Satyapriya NayakPosted Feb 28, 2012, 10:18 PM
Please refer Our recommended articles
Thanks
SenthilkumarPosted Feb 28, 2012, 9:28 PM
1) constructor
2) properties
3) delegates
see this link for more examples
http://www.c-sharpcorner.com/UploadFile/thiagu304/passdata05172006234318PM/passdata.aspx