title: Detect if VisibleChanged is true or false
body: <p>I have a handler for a C# panels VisibleChanged event. But how do I detect if the visibility is being set to true or false??</p>
  
  <pre><code>public void Parent_VisibleChanged(object sender, System.EventArgs e)
      {
         if(Visible = true)
         {
           // do what i want to do
         }
  
      }
  </code></pre>