title: Changing a Label when a Bool variable turns True
body: <p>i'm not really sure how to explain this... i'm going to put the code in psuedo code for easy reading</p>
  
  <p>pretty much I want a label to change it's text when a bool variable of a class changes... i'm not sure what I need to use since i'm using WPF and the class can't just change the label i don't think?</p>
  
  <p>do i need some sort of event?  or a WPF event?  thanks for any help</p>
  
  <pre><code>public MainWindow()
  {
     SomeClass temp = new SomeClass();
  
     void ButtonClick(sender, EventArgs e)
     {  
        if (temp.Authenticate)
          label.Content = "AUTHENTICATED";
     }
  }
  
  public SomeClass
  {
    bool _authenticated;
  
    public bool Authenticate()
    {
      //send UDP msg
      //wait for UDP msg for authentication
      //return true or false accordingly
    }
  }
  </code></pre>