public TcpUdpForm()
        {
            tcpUdpConn = new IpHlpApidotnet.TCPUDPConnections();
            InitializeComponent();
            this.Show();

            dataTable1 = new DataTable("Table1");
            dataTable1.Columns.Add("State", typeof(String));
            dataTable1.Columns.Add("Local Address", typeof(String));
            dataTable1.Columns.Add("Remote Address", typeof(String));
            dataTable1.Columns.Add("PID", typeof(String));
            dataTable1.Columns.Add("Process", typeof(String));
            dataTable1.Columns.Add("Protocol", typeof(String));

            init();
            dataGrid1.SetDataBinding(dataTable1, "");
        }
 private void TcpUdpForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     tcpUdpConn = null;
 }