private void Listen2() { Thread t; t = new Thread(() => CalledPartyCC.Init()); t.IsBackground = true; t.Start(); }
public Form1() { InitializeComponent(); Text = Config.getProperty("client_name") + " - Client Node"; sendRefer = logs_list; receiveRefer = receive_logs_list; outCounter = 0; inCounter = 0; CalledPartyCC.Init(); Connect(); if (!backgroundWorker1.IsBusy) { backgroundWorker1.RunWorkerAsync(); } }