Originally posted by Peter Phung:
I'm writing an FTP application with a database connection to allow the user to choose which file they want to download.
ClassA is the main GUI which controls the application.
ClassB is a query mask which takes user input and parses that information to classC
ClassC diaplays the results of the query in a table, from which the user can a file to download.
this filename is needed by classA for it to be able to download the file.
I hope that this explains what i'm trying to accomplish
I would appreciate any suggestions for a different approach or any solutions to my current problem.
OK, what you seem to want to do is something like
This could be pseudocode for your ClassA, whereas UserInfoDialog would resemble ClassB and FtpFileChooser ClassC.
Does that help?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus