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(); }
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(); }