Esempio n. 1
0
        public Form1()
        {
            serverForMS                = new ServerForMS();
            serverForU_GS              = new ServerForU_GS();
            serverForUpd               = new ServerForUpd();
            serverForUpd.serverForMS   = serverForMS;
            serverForUpd.serverForU_GS = serverForU_GS;
            serverForMS.SetReferenceToServerForU_GS(serverForU_GS);
            serverForU_GS.SetReferenceToServerForMS(serverForMS);

            Timer t = new Timer(TimerCallback, null, 0, 2000);
        }
Esempio n. 2
0
 public void SetReferenceToServerForU_GS(ServerForU_GS serverForU_GS)
 {
     this.serverForU_GS = serverForU_GS;
 }