private void dlgTwitterOAuth_Activated(object sender, EventArgs e) { var settings = TwiDaken.Properties.ConsumerKeys.Default; au = new Auth((string)settings["ConsumerKey"], (string)settings["ConsumerSecret"]); au.GetRequestToken(); txtAuthUrl.Text = au.GetAuthorizeUrl(); System.Diagnostics.Process.Start(au.GetAuthorizeUrl()); }
private void AuthenticateWithTwitter() { dlgTwitterOAuth d = new dlgTwitterOAuth(ref au); d.ShowDialog(this); au = d.au; d.Close(); d.Dispose(); if (au != null) { btnTweet.Enabled = true; cmnuTwiDaken_tsmnuUpdateToTwitter.Enabled = true; } }
public dlgTwitterOAuth(ref Auth _au) { InitializeComponent(); au = _au; }