.NET (C#) passing messages from a custom control to main application

Posted by zer0c00l on Stack Overflow See other posts from Stack Overflow or by zer0c00l
Published on 2010-04-18T18:40:01Z Indexed on 2010/04/18 18:43 UTC
Read the original article Hit count: 241

Filed under:
|
|
|
|

A custom windows form control named 'tweet' is in a dll. The custom control has couple of basic controls to display a tweet. I add this custom control to my main application. This custom control has a button named "retweet", when some user clicks this "retweet" button, i need to send some message to the main application. Unfortunately the this tweet control has no idea about this main application (both or in their own namespaces)

How can i send messages from this custom control to the main application?

© Stack Overflow or respective owner

Related posts about c#

Related posts about custom-controls