示例#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;
 }