Ejemplo 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);
        }
Ejemplo n.º 2
0
 public void SetReferenceToServerForMS(ServerForMS serverForMS)
 {
     this.serverForMS = serverForMS;
 }