Anybody know of any articles that show how to use a Foriegn Class with in a Dialog Class?

I got it to work, but I want to see if I'm overlooking anything?