I think that you can create a property in Page1 that contains the value that is in the TextBox
Public ReadOnly Property TextBox1Value() As String
Get
Return theFirstTextBox.Text
End Get
End Property
And get this value and pass it to Page2 in the constructor, for example
Public Sub New(ByVal value As String)
' This call is required by the Windows Form Designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
theSecondTextBox.Text = value
End Sub
Private Sub CreatePage2Method()
Dim page As Page2 = New Page2("BlaBlaBla")
NavigationService.Navigate(page)
End Sub
Good luck
source
share