Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void showForm(string user)
- {
- // Do some work here.
- PrivateChat form = new PrivateChat();
- form.Text = "Private chat with: " + user;
- form.Show();
- Application.Run();
- }
- var thread = new Thread(() => showForm(messageTo));
- thread.Start();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement