private static void ClearLogInThread(object threadInfoObject) { if (IsSendToNetwork) { CommandSender.SendClearLogDataGrid(); } }