Passing data in C#

  • Thread starter Thread starter saya
  • Start date Start date
S

saya

LS,
Need help on the following:
A windows form is running and obtains a filename through user
interaction (OpenFileDialog).
This form then brings up a modal dlg (module in DLL format); in this
modal dlg app, the filename is needed.
How to get it from the main form into the DLL module?

Thanks!
 
Try creating a custom constructor that accepts the file name as a parameter.

-Ken
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top