Waitting.....

  • Thread starter Thread starter Bill Yin
  • Start date Start date
B

Bill Yin

I want transmit a parameter to a winform.
How should I do?
How receive the parameter in open's window?
 
Bill Yin said:
I want transmit a parameter to a winform.
How should I do?
How receive the parameter in open's window?

Add parameters to the forms constructor and pass them to the form when you
instansiate it.

PS
 
Are you refering to an already open windows or a window in another
application?
If so you can use SendMessage API call ,

If you are creating a new winform you can use a constructor parameter or a
public property.

Cheers,
 

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