Forms

  • Thread starter Thread starter Stormy
  • Start date Start date
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
 
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 ?
 
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
 
Back
Top