/// <summary>
 /// New up a new form with Web Browser to get the user token
 /// </summary>
 /// <param name="appId"></param>
 /// <param name="redirectUrl"></param>
 /// <param name="live"></param>
 private void DisplayOauthForm(string appId, string redirectUrl, bool live)
 {
     try
     {
         Uri loginUri = Client.getAuthorizeUri(appId, redirectUrl, live);
         _webBrowserForm         = new WebBrowserForm(loginUri, redirectUrl);
         _webBrowserForm.Closed += WebBrowserFormOnClosed;
         _webBrowserForm.UserApiTokenRecieved += WebBrowserFormOnUserApiTokenRecieved;
         _webBrowserForm.Show();
     }
     catch (Exception ex)
     {
         // eat it
     }
 }
 /// <summary>
 /// New up a new form with Web Browser to get the user token
 /// </summary>
 /// <param name="appId"></param>
 /// <param name="redirectUrl"></param>
 /// <param name="live"></param>
 private void DisplayOauthForm(string appId, string redirectUrl, bool live)
 {
     try
     {
         Uri loginUri = Client.getAuthorizeUri(appId, redirectUrl, live);
         _webBrowserForm = new WebBrowserForm(loginUri, redirectUrl);
         _webBrowserForm.Closed += WebBrowserFormOnClosed;
         _webBrowserForm.UserApiTokenRecieved += WebBrowserFormOnUserApiTokenRecieved;
         _webBrowserForm.Show();
     }
     catch (Exception ex)
     {
         // eat it
     }
 }
 /// <summary>
 /// This is called when the web browser form is closing
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void WebBrowserFormOnClosed(object sender, EventArgs eventArgs)
 {
     _webBrowserForm.Closed -= WebBrowserFormOnClosed;
     _webBrowserForm.UserApiTokenRecieved -= WebBrowserFormOnUserApiTokenRecieved;
     _webBrowserForm = null;
 }
 /// <summary>
 /// This is called when the web browser form is closing
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="eventArgs"></param>
 private void WebBrowserFormOnClosed(object sender, EventArgs eventArgs)
 {
     _webBrowserForm.Closed -= WebBrowserFormOnClosed;
     _webBrowserForm.UserApiTokenRecieved -= WebBrowserFormOnUserApiTokenRecieved;
     _webBrowserForm = null;
 }