/// <summary>
        /// Adds item to the dictionary
        /// </summary>
        /// <param name="Item">Label text pair object.</param>
        public void Add(DictionaryItem Item)
        {
            lock (_items.SyncRoot)
            {
                if (_items[Item.Name] != null)
                    _items.Remove(Item.Name);

                _items.Add(Item.Name, Item);
            }
        }
        /// <summary>
        /// Adds item to the dictionary
        /// </summary>
        /// <param name="Item">Label text pair object.</param>
        public void Add(DictionaryItem Item)
        {
            lock (_items.SyncRoot)
            {
                if (_items[Item.Name] != null)
                {
                    _items.Remove(Item.Name);
                }

                _items.Add(Item.Name, Item);
            }
        }
        /// <summary>
        /// Adds item to the dictionary
        /// </summary>
        /// <param name="Name">Label name.</param>
        /// <param name="Text">Label text.</param>
        public void AddItem(String Name, String Text)
        {
            lock (_items.SyncRoot)
            {
                DictionaryItem Item = new DictionaryItem(Name, Text);

                if (_items[Item.Name] != null)
                {
                    _items.Remove(Item.Name);
                }

                _items.Add(Item.Name, Item);
            }
        }
        /// <summary>
        /// Gets the list of dictionary items by label prefix.
        /// </summary>
        /// <param name="Prefix">Label prefix.</param>
        /// <returns>List of dictionary items by label prefix.</returns>
        public List <DictionaryItem> GetByPrefix(String Prefix)
        {
            lock (_items.SyncRoot)
            {
                List <DictionaryItem> _result = new List <DictionaryItem>();
                foreach (String _item_key in _items.Keys)
                {
                    DictionaryItem _d_item = (DictionaryItem)_items[_item_key];
                    if (_item_key.IndexOf(Prefix) == 0)
                    {
                        _result.Add((DictionaryItem)_items[_item_key]);
                    }
                }

                return(_result);
            }
        }
        /// <summary>
        /// Adds item to the dictionary
        /// </summary>
        /// <param name="Name">Label name.</param>
        /// <param name="Text">Label text.</param>
        public void AddItem(String Name, String Text)
        {
            lock (_items.SyncRoot)
            {
                DictionaryItem Item = new DictionaryItem(Name, Text);

                if (_items[Item.Name] != null)
                    _items.Remove(Item.Name);

                _items.Add(Item.Name, Item);
            }
        }