private void button3_Click(object sender, RoutedEventArgs e)
        {   ///Tcp disconnect
            ///
            if (true == button3.IsEnabled)
            {
                addListBoxString(listBox1, "TCP disconnect");
                button1.IsEnabled = true;
                button2.IsEnabled = true;
                button3.IsEnabled = false;
#if USETCPHOSTTHREAD
                if (1 == iRunType)
                {
                    TcpServer.StopThread();
                }
                if (2 == iRunType)
                {
                    TcpClient.StopThread();
                }
#else
                newTcpHost.Abort();
#endif
                iRunType = 0;   ///0 for not run, 1 for server run, 2 for client run
            }
        }