/// <summary>
 /// Creates a new instance of the predefined symbol control.
 /// </summary>
 public PredefinedLineSymbolControl()
 {
     _symbolizerList = new List<CustomLineSymbolizer>();
     _provider = new CustomLineSymbolProvider();
     //_symbolizerList = _provider.GetAllSymbols();
     
     Configure();
 }
        //this loads the default symbols and initializes the control
        //as well as the available categories
        private void LoadDefaultSymbols()
        {
            CustomLineSymbolProvider prov = new CustomLineSymbolProvider();

            _categories = prov.GetAvailableCategories();
            UpdateCategories();
        }
 /// <summary>
 /// Creates a new instance of a Predefined symbol control designed to display a list of specific symbolizer
 /// </summary>
 /// <param name="editorService"></param>
 /// <param name="symbols"></param>
 public PredefinedLineSymbolControl(IWindowsFormsEditorService editorService, List<CustomLineSymbolizer> symbols)
 {
     _editorService = editorService;
     _provider = new CustomLineSymbolProvider();
     _symbolizerList = symbols;
     Configure();
 }
 /// <summary>
 /// Creates a new instance of the predefined symbol control that uses the specific symbol provider
 /// </summary>
 /// <param name="prov">The provider class that is used to retrieve the predefined custom symbols from
 /// the XML file or another data source</param>
 public PredefinedLineSymbolControl(CustomLineSymbolProvider prov)
 {
     _provider = prov;
 }