shredder2794 0 Light Poster

Hello all,
I've started to learn about WPF UI automation and have been having some trouble.
I get the general way of automating a program to interact with another program to perform tasks but I am very new to VB.NET programming and it would help a LOT if someone gave me an example.
So say I have a program with one button and a text field on it and when the button is clicked the text in the text box changes from " " to "Hello".
button text = "Click Me"
button name = "Button1"
Text box name = "TextBox1"
Please include a code example of a program that would click "Button1" and then display a message box with whatever the text in the text box was(in this case "Hello").

all answers are HIGHLY appreciated!