By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,899 Members | 1,230 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,899 IT Pros & Developers. It's quick & easy.

How can I pass an array between forms and classes?

P: 1
For a project I need to be able to pass an array from the form generating it, to a sort class, then back to another form. How can I do this? I have tried many things and none seem to be working, it is my first year with programming so any help would be really appreciated! Thank you
Jan 17 '15 #1
Share this Question
Share on Google+
1 Reply


Frinavale
Expert Mod 5K+
P: 9,731
Please post what you have tried so far.
You have created an array in one form...

Now you want to pass this to a class, so you created a class and you have instantiated it in the form so that you can use it...

But I'm not sure how you have designed the class so I can't give you any advise on what you need to do to pass it.

Please also let us know what language you are using.

Thanks

-Frinny
Jan 19 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.