S
Simon Verona
I have a usercontrol which when entered pops up a form. I want the form to
be aligned with the bottom edge of the user control.
I was doing this by passing the usercontrol into the form as a parameter and
using the left and top properties to find the location on the screen to
position the form. However, these are relative to the container
(panel/form/tabcontrol etc).
How can I best locate or pass the actual screen coordinates of my user
control into the form?
Thanks
Simon
be aligned with the bottom edge of the user control.
I was doing this by passing the usercontrol into the form as a parameter and
using the left and top properties to find the location on the screen to
position the form. However, these are relative to the container
(panel/form/tabcontrol etc).
How can I best locate or pass the actual screen coordinates of my user
control into the form?
Thanks
Simon