private void connectionCanceled(object sender, EventArgs e) { txtConnection.AppendText("ConnectionServer Exited.\n"); connectionserver = null; }