I'm getting three errors and have no idea how to fix them.
1. 'UriKind' is not a member of 'System.Windows.Control.Border'.
2. 'Windows' is not a member of 'System.Windows.Controls.Border'.
3. Reference to a non-shared member requires an object reference.
Here is the Sub the errors are in:
Code:
Public Sub InitializeComponent() Implements System.Windows.Markup.IComponentConnector.InitializeComponent
If _contentLoaded Then
Return
End If
_contentLoaded = true
Dim resourceLocater As System.Uri = New System.Uri("/XenoMC;component/pgtest.xaml", System.UriKind.Relative)
#ExternalSource("..\..\..\pgTest.xaml",1)
System.Windows.Application.LoadComponent(Me, resourceLocater)
#End ExternalSource
End Sub
Any help is greatly appreciated. Sorry if I havn't included enough info, I'm not sure what I should include.
Thanks!