private void MainForm_FormClosing(object sender, FormClosingEventArgs e) { UDPtimer.Stop(); }
private void btn_Close_Click(object sender, System.EventArgs e) { UDPtimer.Stop(); }