Martes, Agosto 30, 2011

code on how to create a picturebox

If txtusername.Text = "weng_lorenzo@yahoo.com" Then
            Me.txtusername.Enabled = False

            Me.PictureBox1.Visible = True
            Me.PictureBox2.Visible = False

        Else
            Me.PictureBox1.Visible = False
            Me.PictureBox2.Visible = True

        End If
    End Sub





 If txtpassword.Text = "exer5" Then
            Me.txtpassword.Enabled = True

            Me.PictureBox3.Visible = True
            Me.PictureBox4.Visible = False
        Else
            Me.PictureBox3.Visible = False
            Me.PictureBox4.Visible = True

        End If
    End Sub

Walang komento:

Mag-post ng isang Komento