private void TM_WaitForInternet_Tick(object sender, EventArgs e) { TM_WaitForInternet.Stop(); if (CheckInternetConnection(true)) { CheckForNewVersion(); ConnectCheck(); } else { TM_WaitForInternet.Start(); } }