public LayerManager() { InitializeComponent(); idProvider = new IDProvider(0); layers = new List <LayerDisplay>(); }
public void CalculateMaxID() { uint max = 0; foreach (MarkData markData in GetAllData(true)) { if (max < markData.ID) { max = markData.ID; } } idProvider = new IDProvider(max); }
public void Clear() { idProvider = new IDProvider(0); layers.Clear(); }