Trying to pass value through Forms, but not working correctly :     Dim form As New Mainuser(TextBox1.Text)

For some reason, even though TextBox1 exists, it still says it's not declared.

Also, in my other part of the code, `Mainuser.Show()`, it says can not be simplified. Here is my full code if you want to help me with that:

Login.vb:

`Dim form As New Mainuser(TextBox1.Text)
        If TextBox8.Text = My.Settings.username AndAlso TextBox9.Text = My.Settings.password Then
            MessageBox.Show("You have successfully been logged in!", "Login Successfull")
            Close()
            Mainuser.Show()`

Mainuser.vb:


    Public Class Mainuser
    Public Sub New(ByVal value As String)

        InitializeComponent()

        Label1.Text = value

    End Sub
    Private Sub PictureBox2_Click(sender As Object, e As EventArgs) Handles PictureBox2.Click
        HTML_Editor.Show()
    End Sub
End Class


@Bugs I'm hoping you can suggest something.

Like I said before if this doesn't make any sense I'll comment below what you want.