private void MainServerClient_ConnectionStatusChanged(EventDrivenTCPClient sender, EventDrivenTCPClient.ConnectionStatus status)
 {
     if (status == EventDrivenTCPClient.ConnectionStatus.Connected)
     {
         // Initial handshake message
         this.mainServerClient.Send(PacketHelper.MakeBytesArrayfromHexString("01 A0 00 00 03"));
     }
 }
 private void InitializeComponents()
 {
     this.mainServerClient = new EventDrivenTCPClient(IPAddress.Parse(this.config.MainServerIp), this.config.MainServerPort);
     this.mainServerClient.ConnectionStatusChanged += this.MainServerClient_ConnectionStatusChanged;
     this.mainServerClient.Connect();
     this.AnnouncementServiceTimer.Tick += this.AnnouncementServiceTimer_Tick;
     this.MainFormUpdater.Tick          += this.MainFormUpdater_Tick;
     this.MainFormUpdater.Start();
 }