I am having a problem for a while
this line:
txtPastes.Text = (string)e.UserState;
throws a cross thread exception and I didn\'t find a
If you want to update yout GUI for example TextBox, you should read this article:
Update GUI from another thread