コード例 #1
0
 private void Chow_Click(object sender, EventArgs e)
 {
     if (pc.PlayerSound)
     {
         soundplayer.Stream = Resources.chow;
         soundplayer.Play();
     }
     if (network)
     {
         checkuser.Chow = true;
     }
     else
     {
         pc.chow(brand);
     }
     this.Close();
 }
コード例 #2
0
        private void Chow_Click(object sender, EventArgs e)
        {
            if (pc.PlayerSound)
            {
                soundplayer.Stream = Resources.chow;
                soundplayer.Play();
            }
            if (network)
            {
                checkuser.Chow     = true;
                checkuser.Pong     = false;
                checkuser.Kong     = false;
                checkuser.DarkKong = false;
                checkuser.Win      = false;
                checkuser.Pass     = false;

                pc.chat.SendObject(checkuser);
            }
            else
            {
                pc.chow(checkuser.Brand);
            }
            this.Close();
        }