I have a label and text block on a WPF window and I'm trying to update those from a 2nd cs code file. I've tried the below code but the label is not getting updated...any help is greatly appreciated!
MainWindow main = new MainWindow();
main.statusLabel.Content = "Blah...blah";
main.statusTextBlock.Text = "Blah...blah";