|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here! |
|
#1
|
|||
|
|||
|
I'm a begginer when it comes to programming outside of basic html. I'm wondering how to pass information between classes.
for instance: a button is hit in class one, it calls class 2 telling it what button was hit. class 2 then does it's thing and sends the results back to class 1. class 1 updates the page. I'm programming in C#.NET which is why I posted this here. Any explination or links pointing to Class Tutorials would be greatly appreciated!!! :-) thanks in advance, -randy |
|
#2
|
|||
|
|||
|
Speaking from a java standpoint, you need to pass the variables as an argument from one class to the next...
If you're calling a method in the 2nd class, you'll need to ensure that the method accepts an argument... Hope that helps...
__________________
____________________________________________ Developer Shed Weekly Writer | DevArticles Forum Moderator Build Your Own KlipFolio Klip With PHP FrankManno.com - Under Construction Design Interactive Group - Under Construction |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Begginer Q: Transfer Variables between Classes |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|