Load a Form into a "container" included in another form,

  • Thread starter Thread starter Emilio
  • Start date Start date
E

Emilio

Good Morning to everyone,

I have a form (name it "Form A"). Into Form A I'd want to load another
FORM (name it "Form Z").
I'd like to know if I can obtain this result putting in Form A a sort
of container and, accorting to the user choise, to call a class that
receive the container "handle" as a constructor argument.
This class worries about loading Form Z in the container.

I hope my question to be clear.
Thank you for any help or suggestion.

Best regards, Emilio.
 
make FormZ a user control ControlZ and you can load it anywhere you like.
If you really do need a form FormZ, drop ControlZ on it in the designer..
 
make FormZ a user control ControlZ and you can load it anywhere you like.
If you really do need a form FormZ, drop ControlZ on it in the designer..

Thank you Gerry
 
Back
Top