>Where to find FormsHandler class for MDI child Windows ?Hmmm ... well, Andrus, there is no FormsHandler class built-in to any of the .NET Framework classes ... the FormsHandler class that I showed in my previous post was my own code that I use in my application.
>MDI parent forma already has built-in child collection so I think MDI Forms Handler must use this, not create new collection.Right ... that is what you'd use in an MDI form, the MdiChildren collecton ... I answered a question (from you) about closing MDI child forms back in November, Message #
1172456:
foreach (Form o in this.MdiChildren)
o.Close();
>Also this code must use .NET 2 Generic List type instead of ArrayList (you copied it from your old .NET tips column).Well, this code was developed under .NET 1.1, before Generics came along in .NET 2.0. However, for such a simple method in which you are always closing a Form and calling a Form's .Close() method, why would you need to use anything but a Form? Basically there's no *need* to change my existing code to use a generic list, so I haven't changed my code or my example that I routinely post when people has about FormsHandlers. If someone wants to show me what that class would look like using a Generic List, then go for it. =0)
~~Bonnie