/// <summary> /// 关闭 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button1_Click(object sender, EventArgs e) { UDPClientManager manager = new UDPClientManager(_client_id); manager.Stop(); }