public TCP_MainServer(MainFrm _mainFrm, Button btnStart, Button btnDisconnect)
 {
     instance = this;
     Globals.MainServerClient = instance;
     mainFrm        = _mainFrm;
     _btnStart      = btnStart;
     _btnDisconnect = btnDisconnect;
 }
 public AnnouncementService(Timer timer, ListBox listBox, Button btnStart, Button btnDisconnect)
 {
     _mainFrm             = Globals.mainFrm;
     _mainServer          = Globals.MainServerClient;
     _accouncemnetListBox = listBox;
     _btnStart            = btnStart;
     _btnDisconnect       = btnDisconnect;
     _AsMsgTimer          = timer;
     ConnectDB();
     LoadMessages();
 }