Esempio n. 1
0
 private void OpenChatWindow()
 {
     if (this._chatWindow == null)
     {
         this._chatWindow = new ChatForm(this,this._stream);
         this._chatWindow.FormClosed += ChatWindowClosed;
         this._chatWindow.Show();
     }
     else this._chatWindow.Focus();
 }
Esempio n. 2
0
 void ChatWindowClosed(object sender, FormClosedEventArgs e)
 {
     this._chatWindow = null;
 }