Exemple #1
0
        public LayerManager()
        {
            InitializeComponent();

            idProvider = new IDProvider(0);
            layers     = new List <LayerDisplay>();
        }
Exemple #2
0
        public void CalculateMaxID()
        {
            uint max = 0;

            foreach (MarkData markData in GetAllData(true))
            {
                if (max < markData.ID)
                {
                    max = markData.ID;
                }
            }
            idProvider = new IDProvider(max);
        }
Exemple #3
0
 public void Clear()
 {
     idProvider = new IDProvider(0);
     layers.Clear();
 }