Example #1
0
        public void deleteItem(ScenarioItem item)
        {
            item.detachFrom(pictureBox1);
            listBox1.Items.Remove(item.ToString());

            redraw();
        }
Example #2
0
 public void addScenarioItem(ScenarioItem item,bool select=false)
 {
     item.attachTo(pictureBox1);
     listBox1.Items.Add(item.ToString());
     if (select)
     {
         zoneData.setSelectedItem(item.ToString());
         listBox1.SelectedItem = item.ToString();
     }
     redraw();
 }