Forms

S

Stormy

I want to create an application which includes two forms A and B. The
following is a list of my requirements.
1. B is created in A's constructor.
2. A and B can not be resized. they can only be minimized or maximized.
3. A and B should be in taskbar all the time. When they are minimized,
if I click A on the taskbar, A should pop up, click B, B should pop up.

Is there a good way to do it? Please give me some ideas. Thanks
 
L

Lenny Lennoson -- *Shark tale*

Stormy ã®ãƒ¡ãƒƒã‚»ãƒ¼ã‚¸:
I want to create an application which includes two forms A and B. The
following is a list of my requirements.
1. B is created in A's constructor.
2. A and B can not be resized. they can only be minimized or maximized.
3. A and B should be in taskbar all the time. When they are minimized,
if I click A on the taskbar, A should pop up, click B, B should pop up.

Is there a good way to do it? Please give me some ideas. Thanks

I remember you already asked the same question before, why repeated
without a codesnip for clarification ?

1> A dependent form called B is created due to constructor's
initialization of form A
2> Both can't be resized
3> They both become independent, and can be resized.

Am I not logical nut ?
 
C

chanmm

1. Just do:
B frmB = new B();

frmB.Show

will do.

2. Basically you need to trap the form size changes.

3. It sounds like default behavior to me. So need not to do anything.

chanmm
 

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