private void Conf_ThumbRetriever_FormClosing(object sender, FormClosingEventArgs e) { thumbRetriever.Stop(); stopAndClear(); //if the user has requested close and the request has not come from the main config form, //just hide the form so it can be re-used if (e.CloseReason == CloseReason.UserClosing && !closing) { e.Cancel = true; this.Visible = false; } }