Multiple forms

M

MORALBAROMETER

Hallo,
I want to write a programming with c#.Net having forms like MS Word.
The main form A contain commonly used objects.I have many other forms
(B,C,D) etc that have inherited from A. i realised that when i want to
open B,or C while in any of the forms a completely new form like A, B,
C, or D is opened..that is two forms open at same time. This is
actually not what i want. I want a word style of form when documents
are open within the main form. if a new document is to be opened the
former is either cloed or runs at the background. i will prefear closed
since i deal with DB to advoid many info in the memory.
thx in advance
 
M

MORALBAROMETER

Hi,
thx for the promt reponse. Let me give an example: I have forms 1,2 and
3. form 1 is main and has main menu were i can call form 2 and 3 using
MDI. now i want to close form 2 and automatically open form 3. this
closing is done in form 1 which is the MDIcontainer as well a wanting
form 3 to open in the MDcontainer(form1).

Moreover i have some information that i want to pass from form 2 to
form 3 when its closing. I can go about this without opennig each form
seperately but using MDI. I read this the page u directed me but could
get a solution to the above problem.. Also thought of using delegates
and events to let form 1 receives calls from form 2, and 3 and in form
1 determine which form to close.
 

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