Compare with the "Thread" in the winform and WPF difference