Example #1
0
 private void OpenUpdateForm()
 {
     if (Application.OpenForms["Dialog"] != null)
     {
         Application.OpenForms["Dialog"].Show();
     }
     else
     {
         Dialog dForm = new Dialog(TwitterUser);
         dForm.ShowDialog();
         dForm.Dispose();
     }
 }
Example #2
0
 void tsReTweet_Click(object sender, EventArgs e)
 {
     ToolStripMenuItem menu_ = (ToolStripMenuItem)sender;
     if (menu_.Tag != null)
     {
         TweetItem ti = GetTweetItemById(menu_.Tag.ToString());
         if (ti != null)
         {
             Dialog d = new Dialog(TwitterUser, ti.ItemTweet);
             d.ShowDialog("retweet");
             d.Dispose();
         }
     }
 }