public void SendAllForever() { int count = 0; while (true) { msgLogForm.AppendLog(string.Format("Msg Loop # {0:D}", count++)); SendAllMsgs(); SendEventWaves(true); Thread.Sleep(1000); } }