I am assuming you want to be able to trap the click event of the LinkButton and use it to raise an event (PageClicked) in the modified PageControl, so my comments will address this scenario.
1. In your control declare a Delegate for the PageClickedEventHandler
Public Delegate Sub PageClickedEventHandler(ByVal sender As Object, ByVal e As PageClickedEventArgs)
2. Create a PageClickedEventArgs Class (as the class is only going to be used by this control you can create it inside the control)
Public Class PageClickedEventArgs Inherits EventArgs
Public PageNo As Integer
End Class
3. In your control declare an Event for the PageClicked event (notice it is of the type PageClickedEventHandler declared above)
Public Event PageClicked As PageClickedEventHandler
4. In your control create a method to raise the event (OnPageClicked)
Public Sub OnPageClicked(ByVal e As PageClickedEventArgs)
RaiseEvent PageClicked (Me, e)
End Sub
You now have the infrastructure to raise a PageClicked event, but you still need to connect it to the LinkButtons command event. Let us assume you have created a LinkButton called nextPage. When you create the button you will need to set the CommandArgument to the pageNo for the next page
nextPage.CommandArgument = nextPageNo.ToString()
Next you will need to create the event handler for the OnCommand event (lets say for now it is called nextButton_Command).
Private Sub nextButton_Command(ByVal sender As Object, ByVal e As CommandEventArgs)
Dim pageNo as Integer = Integer.Parse(e.CommandArgument)
Dim e as PageClickedEventArgs = new PageClickedEventArgs
e.PageNo = pageNo
OnPageClicked(e)
End Sub
The final step is to bind your LinkButton you created to this Command Event Handler, so in the logic when you create this button (and set its command argument (see above), add the following
AddHandler nextPage.Command, AddressOf nextButton_Command
This should work - at least it should point you to how to do it.