private void OnClickClearStatics(object sender, EventArgs e) { if ((showclearstatics == null) || (showclearstatics.IsDisposed)) { showclearstatics = new MapClearStatics(this, currmap); showclearstatics.TopMost = true; showclearstatics.Show(); } }