title: Wait inside method until event is captured
body: <p>I have this issue with a method in C#. I made a method that calls a function from a dll its called <code>Phone.GetLampMode();</code>
  Now <code>Phone.GetLampMode</code> doesnt return anything. The data gets returned in a event the '<code>onGetLampModeResponse</code>' event. Is there a way i can wait in my method until i get the data from the onGetLampModeResponse event?</p>
  
  <pre class="lang-cs prettyprint-override"><code>public bool checkLamp(int iLamp)
  {
      Phone.ButtonIDConstants btn = new Phone.ButtonIDConstants();
      btn = Phone.ButtonIDConstants.BUTTON_1;
      btn += iLamp;
      Phone.GetLampMode(btn, null);
  
      return true;
  }
  
  private void Phone_OnGetLampModeResponse(object sender, Phone.GetLampModeResponseArgs e)
  {
      var test = e.getLampModeList[0].getLampMode.ToString();    
  }
  </code></pre>