and watch out. The c-sharpcorner article shows the
delegate added in the private void InitializeComponent()
code. Don't add code here as it is part of the windows
forms generated code and will be lost when you add new
items to the menu. add the code after Initialize component
()
in the TODO: area
//
// TODO: Add any constructor code after initialize
Component
//
otherwise your delegate will disapear and drive you nuts
like it did to me! good luck!
-----Original Message-----
Sorry, i don't have the code anymore as i dropped the mdi
idea and went to a one window solution for my project but
it was based on an article from codeproject.com and one
from c-sharpcorner.com Here are the links to the articles.
http://www.codeproject.com/csharp/mdiformstutorial.asp
andhttp://www.c-
sharpcorner.com/Code/2002/June/CommBetweenForms.asp
Good luck!
-----Original Message-----
Do you have an example of that you can post....I would
really appreciate it!
Darci-----Original Message-----
I'm sort of new to this but when I attempted something
like that I had to use a delegate from form2 to report
back to the parent and have the parent do the dispose
ofform 3.
-----Original Message-----
Hi,
I have built a MDI application with three child
forms.Iwant to be able to close ChildForm 3 from ChildForm 2
butcan not get them to see each other. It just keeps
opening a new instance of the form and will not close
theform. Any advice, examples, help would be
appreciated.
Darci
.
.
.
.