Example #1
0
 //-----------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();
 }
Example #2
0
 private void btCAll_Click(object sender, EventArgs e)
 {
     f = null;
     Tree = null;
     Tree = new QuadTree();
     listContents.Clear();
     pbGridMap.Invalidate();
     btCreate.PerformClick();
 }