Beispiel #1
0
 private void twitterSearchWindow_FormClosed(object sender, FormClosedEventArgs e)
 {
     this.twitterSearchWindow = null;
 }
Beispiel #2
0
 private void searchNewsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (this.twitterSearchWindow == null)
     {
         this.twitterSearchWindow = new TwitterSearchWindow();
         this.twitterSearchWindow.MdiParent = this;
         this.twitterSearchWindow.FormClosed += new FormClosedEventHandler(this.twitterSearchWindow_FormClosed);
         this.twitterSearchWindow.Show();
     }
     else
     {
         this.twitterSearchWindow.Activate();
     }
 }