title: How do I pass objects in EventArgs
body: <p>I have a usercontrol that raises an event after communicating with a web service. The parent handles this event when raised. What I <em>thought</em> would be the proper approach would be to pass the object returned from the webservice to the parent as eventargs???</p>
  
  <p>If this is the proper way I can't seem to find the instructions on how to do so.</p>
  
  <blockquote>
    <p>UserControl</p>
  </blockquote>
  
  <pre><code>public event EventHandler LoginCompleted;
  </code></pre>
  
  <p>then later after the service returns biz object:</p>
  
  <pre><code>if (this.LoginCompleted != null)
          {
              this.LoginCompleted(this, new EventArgs() //this is where I would attach / pass my biz object no?);  
          }
  </code></pre>
  
  <blockquote>
    <p>Parent</p>
  </blockquote>
  
  <pre><code>ctrl_Login.LoginCompleted += ctrl_Login_LoginCompleted;
  ....snip....
  void ctrl_Login_LoginCompleted(object sender, EventArgs e)
      {
          //get my object returned by login
      }
  </code></pre>
  
  <p>So my question is what would be the "approved" method for getting the user object back to the parent? Create a property class that everything can access and put it there?</p>