Send Message to IM Window
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hello, I'm developing a chat application. on a main form i maintain a list of online clients. If you want to send message to a single client(private message) then you double click the user name and a new form opened. What i want is to send an object of that message type to that form. The message type may be a string or any other user defined type. After receiving this message on the IM window I have to display it in the chat TextBox. My idea is to have a property in IM Form and it should be set whenever a message is received. And in the set {} of this property I invoke an even which put the text in Chat Textbox. Is it right idea? or there is some better way to do that? Please Guide me. Thank in advance Best Regards, Rizwan Ahmed