private void AutoRead(Client client) { timer1.Elapsed += (s_, e_) => client.ReadFromBuffer_ServerToOutside(); timer1.AutoReset = true; timer1.Enabled = true; }
private void AutoRead(Client client) { timer1.Elapsed += (s_, e_) => client.ReadFromBuffer_ServerToOutside(); timer1.AutoReset = true; timer1.Enabled = true; }