0% found this document useful (0 votes)
45 views1 page

Exercise 11

This Visual Basic code defines a class called Form1 with a private subroutine called Button1_Click that handles clicks on a button. When the button is clicked, it takes the text from a text box, reverses the string, and displays it in a label.

Uploaded by

api-308657631
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views1 page

Exercise 11

This Visual Basic code defines a class called Form1 with a private subroutine called Button1_Click that handles clicks on a button. When the button is clicked, it takes the text from a text box, reverses the string, and displays it in a label.

Uploaded by

api-308657631
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)


Handles Button1.Click
Label1.Text = StrReverse(TextBox1.Text)
End Sub
End Class

You might also like