G
Guest
Hi,
I am currently involved in .Net windows form application, but in an uncommon
way.
The application has a main windows form which displays a title panel on top
and several navigation buttons at bottom. Whenever a button is clicked,
another assembly will be loaded on the fly, and a corresponding form will be
dynamically constructed from the loaded assembly and displayed in the middle
area on the screen on top of the main windows form.
The reason why we implemented this way is to separate each form related to
each button, so it is easier to debug.
The problem is, since the main windows form and the form dynamically created
are from different application domains, whenever the main windows form is
activated, the button form will be hidden behind. For example, if mouse is
clicked in the main windows form area between the buttons.
I wonder if anybody has been in this kind of project and how the problem is
solved.
Thanks,
Liping
I am currently involved in .Net windows form application, but in an uncommon
way.
The application has a main windows form which displays a title panel on top
and several navigation buttons at bottom. Whenever a button is clicked,
another assembly will be loaded on the fly, and a corresponding form will be
dynamically constructed from the loaded assembly and displayed in the middle
area on the screen on top of the main windows form.
The reason why we implemented this way is to separate each form related to
each button, so it is easier to debug.
The problem is, since the main windows form and the form dynamically created
are from different application domains, whenever the main windows form is
activated, the button form will be hidden behind. For example, if mouse is
clicked in the main windows form area between the buttons.
I wonder if anybody has been in this kind of project and how the problem is
solved.
Thanks,
Liping