private void fromImageURLToolStripMenuItem_Click(object sender, EventArgs e) { using (URLDialog urlDialog = new URLDialog()) if (urlDialog.ShowDialog() == DialogResult.OK) { LoadPattern(new AC.Pattern(urlDialog.ResultImage)); LoadSettings(); } }