private void btnStartAuthorization_Click(object sender, EventArgs e) { oAuth = new oAuthTwitter(); oAuth.ConsumerKey = this.Config.Twitter.ConsumerKey; oAuth.ConsumerSecret = this.Config.Twitter.ConsumerSecret; this.Config.Twitter.PIN = String.Empty; this.Config.Twitter.Token = String.Empty; this.Config.Twitter.TokenSecret = String.Empty; string oAuthLink = oAuth.AuthorizationLinkGet(); try { Process.Start(oAuthLink); tbTwitterPIN.Text = String.Empty; tbTwitterPIN.Enabled = true; lblTwitterPIN.Enabled = true; btnTwitterAuthorize.Enabled = true; } catch { tbTwitterPIN.Text = String.Empty; lblTwitterPIN.Enabled = false; tbTwitterPIN.Enabled = false; btnTwitterAuthorize.Enabled = false; MessageBox.Show("An error occurred trying to authenticate. Check your network settings and browser config, and try again.", "uTorrent Notifier - Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } }