In this video you will learn how to build a standard WPF application using Microsoft Visual Studio.
Author: Todd Miranda
really nice one, thx.
You're welcome.
Thanks for watching, horanzuta.
The WindowsClient.net Team.
Thanks Horanzuta.
Glad you liked it. Hopefully it was helpful.
Todd
Thank you for this tutorial Todd.
I have a question:
In this tutorial you are updating the title of Window1 from Window2,
is it possible to update the Textbox text in Window1 (txtName.Text)
from Window2 ?
Mickey,
You sure can. For example you could do something like this in an event fromt the second window:
Window w = this.Owner as Window;
TextBox tb = w.FindName("txtTest") as TextBox;
tb.Text = "Test";
Technically, if you only call Window2 from Window1, you could explicitly refer to Window1 as the owner and then just access the TextBox as a member of Window1:
Window1 w = this.Owner as Window1;
w.txtTest = "Test";
Thanks a lot, that tutorial should be the first one that any newbies to WPF Forms checks out. :)
It's quick, and very informative. ^^
Great job.
Hi there! (Ignorance is bliss)....
Is WPF the next level of winforms applications?
Cheers!
Hi,
I was looking for a source of videos and tutorial to get started with WPF and this site seem to have a lot of great videos, they only issue is I can't make any sense out of the order of the videos,
should i watch the videos in a specific order or they are just adhoc topics? i would really appreciate any guidance,
thanks,
good one.. i liked it !!
simply nice.
thanks