Hey all I am new at WPF so here is my question:
How can I change the text in a TextBlock from my mainWindow when the textBlock is in the window named curTemp.xaml?
curTemp.xaml code:
public MainWindow() { InitializeComponent(); curTemp _curTempWindow = new curTemp(); _curTempWindow._valTempChange = "55"; }
When I run that code it never shows "55" in the textBlock. It only shows my default text "10".
What am I doing incorrect here?