How to load multiple instances of a form

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.
 
K

Kevin Spencer

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
 
G

G Himangi

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
 

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

Top