Location of a form opened by an instance of a custom control [duplicate]
up vote
-1
down vote
favorite
This question already has an answer here:
Getting The Location Of A Control Relative To The Entire Screen?
1 answer
How to get exact position of a panel or picturebox?
1 answer
I have designed a custom control with a picturebox, to which a click event is associated that opens a dialogbox form: Private Sub pbCalendarClockSettings_Click(sender As Object, e As EventArgs) Handles pbCalendarClockSettings.Click Dim myform As New frmCalendarClockSettings myform.StartPosition = FormStartPosition.Manual myform.Location = New Point(Me.Location.X, Me.Location.Y) ... I'd like the form...