private void connectionCompleted(object sender, EventArgs e)
{
txtConnection.AppendText("ConnectionServer crashed.\n");
connectionserver = null;
Thread AnhRestart = new Thread(new ThreadStart(RestartANH));
if (flgRestartAnh == true)
{
AnhRestart.Abort();
flgRestartAnh = false;
}
AnhRestart.Start();
}