Пример #1
0
 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());
 }
Пример #2
0
 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;
     }
 }
Пример #3
0
 public dlgTwitterOAuth(ref Auth _au)
 {
     InitializeComponent();
     au = _au;
 }
Пример #4
0
 public dlgTwitterOAuth(ref Auth _au)
 {
     InitializeComponent();
     au = _au;
 }