Hi,
I am working with an Mdiform and several Childforms who are loaded
dynamically with reflection.
Every time a child is getting activate i must reinitialize the menu.
(i think) This is something to handle in the MdiChildActivat e event of the
MdiForm.
My problem now is to get the initial properties of the active child.
When i try to cast the "e" arguments to
((System.Window s.Forms.Form)e) .GetHashCode() it gives me a compile error
"Cannot convert type 'System.EventAr gs' to 'System.Windows .Forms.Form".
Now the question. What is the correct cast for this?
Kind regards,
Ronny
I am working with an Mdiform and several Childforms who are loaded
dynamically with reflection.
Every time a child is getting activate i must reinitialize the menu.
(i think) This is something to handle in the MdiChildActivat e event of the
MdiForm.
My problem now is to get the initial properties of the active child.
When i try to cast the "e" arguments to
((System.Window s.Forms.Form)e) .GetHashCode() it gives me a compile error
"Cannot convert type 'System.EventAr gs' to 'System.Windows .Forms.Form".
Now the question. What is the correct cast for this?
Kind regards,
Ronny
Comment