private void testToolStripMenuItem_Click(object sender, EventArgs e) { try { var client = new WebClient(); if (settings != null) { settings.Initialize(client); } client.DownloadFile(new Uri("http://www.google.com.by/"), @"c:\test.html"); } catch (Exception ex) { ExceptionForm.ShowException("Error dowload file", "F**k", ex); } }