private void OnClickSearch(object sender, EventArgs e) { if ((showform == null) || (showform.IsDisposed)) { showform = new TextureSearch(); showform.TopMost = true; showform.Show(); } }