private void findReferences_Click(object sender, EventArgs e) { if (findReferencesForm == null) { findReferencesForm = new FindReferences(new FindReferencesFunction(FindReferences), null); findReferencesForm.Owner = this; } else { findReferencesForm.Reload(); } findReferencesForm.Show(); }