Esempio n. 1
0
        public Form1()
        {
            InitializeComponent();

            _manageDC = new ManageDisplayControls();
            _manageDC.InitializeDispCtrls(this.splitContainer1.Panel1, new ImageBox());
            _manageDC.InitializeDispCtrls(this.splitContainer1.Panel2, new ImageBox());
            _manageDC.InitializeDispCtrls(this.splitContainer2.Panel1, new ImageBox());
            _manageDC.InitializeDispCtrls(this.splitContainer2.Panel2, new ImageBox());
        }
Esempio n. 2
0
        public socketThread(object rtb, object manageDisp, string addr, int port)
        {
            _serverIP = addr;
            _port     = port;
            _rtb      = (System.Windows.Forms.RichTextBox)rtb;

            _manageDispCtrl = (ManageDisplayControls)manageDisp;

            _camMemSerialDeserial = new camMemoryStreamSerializerDeserialzer();

            thSocketListening = new Thread(ListeningServerLaunchClientThreads);

            thSocketListening.Start();

            thWebCamDisplay = new webCamDisplayThread(_cibox);
        }