private void ContainerViewer_Load(object sender, EventArgs e) { Text = m_containerName; containerNameTextBox.Text = m_containerName; Application.DoEvents(); try { m_connection = new TioClient.Connection(m_server, m_port); m_container = m_connection.Open(m_containerName); } catch (Exception ex) { MessageBox.Show("ERROR: " + ex.Message); Close(); return; } UpdateData(); }