public ControlForm() { InitializeComponent(); deviceManager = DeviceManager.getInstance(); tmpList = new List<TmpSocketReceiver>(); mySocket = null; myThread = null; }
public TmpSocketReceiver(Socket socket, DeviceManager dm,ControlForm form) { mySocket = socket; deviceManager = dm; FatherForm = form; }