Tuesday, 20 March 2018

Program to change caption and color with coding in VB 2010


Public Class Form1

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

        Me.BackColor = Color.Cyan
        Me.Text = "csprograms4u"
        Me.ForeColor = Color.Blue

        Me.Label1.Text = "Hi there you are using vb 2010"



    End Sub
End Class

No comments:

Post a Comment

Note: only a member of this blog may post a comment.