private void addProductionWellToolStripMenuItem_Click(object sender, EventArgs e) { if (addProductionWell == null || addProductionWell.IsDisposed == true) { addProductionWell = new AddProductionWellForm(ref pads); addProductionWell.Show(); addProductionWell.BringToFront(); theDelegte("Add Production form opens..."); } }