I managed to answer this myself, and found the answer in a 2009 post. In case anyone needs this in the future, the resolution is as follows:
Public Class Form2 |
Dim hostParent As HostWindow |
|
Private Sub Form2_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load |
hostParent = Me.Parent |
End Sub |
|
Private Sub RadButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadButton1.Click |
If hostParent IsNot Nothing Then |
Dim f3 As Form3 = New Form3 |
hostParent.DockManager.DockControl(f3, DockPosition.Left, DockType.Document) |
End If |
End Sub |
End Class |
Thanks,
Will