MDI parent/Child

  • Thread starter Thread starter Darci
  • Start date Start date
D

Darci

Hi,

I have built a MDI application with three child forms. I
want to be able to close ChildForm 3 from ChildForm 2 but
can not get them to see each other. It just keeps
opening a new instance of the form and will not close the
form. Any advice, examples, help would be appreciated.

Darci
 
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!
 
Back
Top