private void timer1_Tick(object sender, EventArgs e) { var connections = TcpConnectionManager.GetCurrentTcpConnections(); //this.dataGridView1.DataSource = null; this.dataGridView1.DataSource = connections; }