Windows Develop Bookmark and Share   
 index > Windows Forms General > IM-like windows forms applications
 

IM-like windows forms applications

Hi,
I want to develop a simple, instant messenger like- application where there's a main windows with nicknames and pop-up chat window when you click the nickname in C#. I can create a click event to instantiate a new chat window form, but I don't know how to manipulate the chat window forms so I can have only one chat window with each nickname and transfer data between main window and the chat window. Any suggestions will be appreciated.
chocoedd  Tuesday, December 19, 2006 6:32 AM

Sounds like you need and SDI architecture. Have a peak at these links they should help you.

http://msdn2.microsoft.com/en-us/library/ms996475.aspx

http://msdn2.microsoft.com/en-us/library/ms996478.aspx

hths,

James

James Knowles  Tuesday, December 19, 2006 8:33 AM

Sounds like you need and SDI architecture. Have a peak at these links they should help you.

http://msdn2.microsoft.com/en-us/library/ms996475.aspx

http://msdn2.microsoft.com/en-us/library/ms996478.aspx

hths,

James

James Knowles  Tuesday, December 19, 2006 8:33 AM
Thanks for the help. I've managed somehow to check previous instances of the child chat form by using the OwnedForms property of the main form. As for the data passing, I just used simple public variables. Thanks again for these articles.
chocoedd  Tuesday, December 19, 2006 10:07 AM

You can use google to search for other answers

Custom Search

More Threads

• Two questions about DataGrid
• resize panel in tabcontrol
• Navigating Forms
• Splash screen in C#
• ToolStripTextBox and Focus
• Global data & wizards.
• How to create a interface?
• TreeView Issues
• How to implement authorization features in Windows Forms Application
• Eliminating MDI parent form scrollbars?