Can someone explain the logic behind the Visual Basic code they write for my assignment? My code is as follows: Public Class Form1 Button1(Of String) As String(“Button1”) OnButton : (AButton) //This calls the ToString method to return a String string of the “Button1” title new BtnResult(MsgType : Integer, Text : String) End button1 = YourElement.Text Do SendMessage WithMessage OnMessageOftype T,T,x,y End Text = Text OnMessageOftype T.Text … End The Button1 instance is as follows: