title: How to have a VB.NET Active Directory login form raise authenticated event back to main form
body: <p>I have a small VB.NET application which at present has two forms; 
  The first is the main form in which users have a choice of buttons to click. I have a second form which handles authentication against Active Directory. When the user clicks 'OK' on the login form a public property called 'Authenticated' is set to 'True'.
  What I want but am really struggling to get my head around is;
  On the main form, when a user clicks one of the buttons, it to check the value of the 'Authenticated' property and if it is false to launch the Login form. This bit works fine but what I am unsure how to do is have the main form wait until the user has entered their credentials and clicked okay, and then to be able to re-check the 'Authenticated' status before perform an action on the button.</p>
  
  <p>This subject has loosely been covered before in this post - <a href="https://stackoverflow.com/questions/1291708/showing-login-form-before-main-form-in-vb-net/1294352#1294352?newreg=2bbdca1ab9d14117a5836a383ffb871b">Showing Login form before main form in vb.net</a></p>
  
  <p>And the last comment is from someone from Beth who mentions being able to do by the sounds of it exactly what I'm trying to achieve by raising an event from the login form... I wonder if anyone is able to give me more details on how I may be able to accomplish this at all?</p>
  
  <p>Many thanks for your time.</p>
  
  <p>James</p>