Exemplo n.º 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            _sysConfig = new TSysConfig();
            _port = _sysConfig.GetIniInt("Port", 9999);

            Thread t = new Thread(new ThreadStart(WaitForConnect));
            t.IsBackground = true;
            t.Start();
        }
Exemplo n.º 2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     _sysConfig = new TSysConfig();
     _port = _sysConfig.GetIniInt("ServerPort", 9999);
     _server = _sysConfig.GetIniString("ServerAddress", "ie");
 }