You can create far more attraction in person within five minutes than this poor ("nice") guy did with untold hours of work. And no matter how much he liked learning WPF, spending those hours with an attractive and attracted other would surely have been more fun.
Edit: I'm suggesting that if wooing her was his ends (which seems clear), then the means he chose was predictably poor. Given the opportunity cost of his time, a plane ticket doesn't seem so unreasonable.
Your life will be happier if you don't follow this fellow's courting model.