コード例 #1
0
 private void chatBtn_Click(object sender, EventArgs e)
 {
     if (chat == null || chat.IsDisposed)
     {
         chat = new GroupChat(this);
     }
     chat.Show();
 }
コード例 #2
0
        private void InitSetter()
        {
            pspSetter    = new ThreadSafeSetter(pspSigLable);
            connSetter   = new ThreadSafeSetter(connLable);
            listSetter   = new ThreadSafeSetter(playerList);
            removeSetter = new ThreadSafeSetter(removeBtn);
            pingSetter   = new ThreadSafeSetter(pingTime);
            ipSetter     = new ThreadSafeSetter(ipLable);

            chat = new GroupChat(this);
        }