예제 #1
0
 public void ShowDraftWindow(string msg, string tweet, long reply_to, FileInfo mediaFile, TweenMain owner)
 {
     Thread m = new Thread(() =>
     {
         TweetPool tweetRetry = new TweetPool();
         tweetRetry.Set(msg, tweet, reply_to, mediaFile, this);
         tweetRetry.mainForm = owner;
         tweetRetry.ShowDialog();
     });
     m.Start();
 }
예제 #2
0
 public void ShowDraftWindow(string msg, string tweet, long reply_to, FileInfo mediaFile, TweenMain owner, bool retryAllowed)
 {
     Thread m = new Thread(() =>
     {
         TweetPool tweetRetry = new TweetPool();
         this.tweetPoolList.Add(tweetRetry);
         tweetRetry.Set(msg, tweet, reply_to, mediaFile, this, owner._cfgCommon.AutoRetryInterval);
         tweetRetry.MainForm = owner;
         tweetRetry.RetryAllowed = retryAllowed; // アカウント切り替え時自動再試行
         tweetRetry.ShowDialog();
     });
     m.Start();
 }