How to load multiple instances of a form

  • Thread starter Thread starter Vis
  • Start date Start date
V

Vis

Hi all,

I got stuck up in a situation where I needs to open up a chatbox form
for a particular user in the messenger application. All this is fine
until, I dont open up the chatbox for another user in the messenger.

I have to open only one instance of a form for a particular user ,
simultaneously giving chance to open a new form for another user.

How it could be tackled. Any suggestions and help will be greatly
appreciated.

Thanx in advance.

Vishnu.
 
This should not be a problem. What is the problem that you're having, and
what method are you using to open the Form instance?

--
HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
 
That should not be any problem at all.

Simply use :
MyForm frm = new MyForm();
frm.Show();

for each instance of the form you want to show

---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : GUI Controls For Drop-In Windows Explorer like Shell
Browsing Functionality For Your App (.Net & ActiveX Editions).
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions,explorer bars and BHOs
rapidly in .Net
 
Back
Top