public void StartListening() { eventGetter = new EventGetter(); EventGetter.Network = this.netClient; Thread listenerThread = new Thread(new ThreadStart(eventGetter.StartListening)); listenerThread.Start(); }