Start New Discussion within our Software Development Community

I'm trying to get totCust and totRev which are declard in videoBonanzaForm to show up in the summaryForm.textboxes

I have them declared as friends; i've even tried assigning me.textbox.text = "1" and nothing shows up still when I click the Summary button (in videoBonanzaForm).

I open the summary form with summaryForm.showDialog()

Public Class summaryForm

    Private Sub videoLabel_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles videoLabel.Click

    End Sub

    Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged
        Me.Text = videoBonanzaForm.totCust
    End Sub

    Private Sub TextBox2_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox2.TextChanged
        Me.Text = videoBonanzaForm.totRev
    End Sub

    Private Sub okButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles okButton.Click
        Me.Close()
    End Sub
End Class
This question has already been answered. Start a new discussion instead.