Esempio n. 1
0
 private void Voice_Click(object sender, EventArgs e)
 {
     threadvoi.Abort();
     byte[] type = Encoding.Default.GetBytes("start");
     Server_PC.SendCommand(type);
     this.Voice.Enabled = false;
     this.label1.Text   = "T语音中";
 }
Esempio n. 2
0
 public static void Send_Voice()
 {
     while (true)
     {
         Thread.Sleep(40);
         Server_PC.SendCommand(voice);
     }
 }