With this small project you will learn to pass a value from one form to another.
Forget APIīs whatever that is... if you are a beginner, this is something you ought to learn at some point, so check it out now!
Download the .zipped project. (0,929K)
Itīs important to let you know that:
There are no .exe files in this project.
You should not just "open the project, compile it right away, and run it".
You should thouroughly read the code of both forms, run it within the IDE, and then, if you want to, compile it to see how it works when is compiled.
You should Definitely scan the file with an AV before extracting files, or even opening the .zip
What you will find on the project: |
|
|
|
Form1: This guy will ask Form2 to query the user for a Caption, next time it tryies to set its own caption, it will do so with the result of the previous query. |
|
Form2: This is the Form that queryies the user for a caption for Form1 |
|
These are the guys in action:
|