Public Class Form1 Private Delegate Sub DelegateSample(xdec As UShort) Private Sub RcvDataToTextBox(n As UShort) Dim b1 As String = Convert.ToString(n, 10) RcvYTextBox.AppendText(b1) End Sub Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click Invoke(New DelegateSample(AddressOf RcvDataToTextBox), 1023us) Invoke(New DelegateSample(AddressOf RcvDataToTextBox), 1023us) End Sub Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click Invoke(New DelegateSample(AddressOf RcvDataToTextBox), 102us) Invoke(New DelegateSample(AddressOf RcvDataToTextBox), 310us) Invoke(New DelegateSample(AddressOf RcvDataToTextBox), 23us) End Sub End Class