Why not just have an attribute and set that to the data returned.And have a getter method for that? Then in your main app you can just assign the texboes Text attribute to this value.
class Sock
{
private String data = "";;
public getData()
{
return data;
}
...
}
and in your main app do:
Sock s = new Sock();
TextBox.Text = s.getData()