//-----------Fill range private void btFRange_Click(object sender, EventArgs e) { if (f == null) { f = new Fill_Range(numWidth, numHeight, nameObjects); f.FormClosed += f_FormClosed; } f.SetObjectNameSelect(controlSelected.AccessibleName); f.ShowDialog(); }
private void btCAll_Click(object sender, EventArgs e) { f = null; Tree = null; Tree = new QuadTree(); listContents.Clear(); pbGridMap.Invalidate(); btCreate.PerformClick(); }