/// <summary>
        /// Rebuilds macro list.
        /// </summary>
        private void RebuildMacroList()
        {
            listMacro.BeginUpdate();
            listMacro.Items.Clear();

            foreach (string key in NamingMacro.GetKeys(true))
            {
                string descripion = NamingMacro.GetDescription(key);

                ListViewItem lvi = new ListViewItem();
                lvi.UseItemStyleForSubItems = false;
                lvi.Text = key;

                ListViewItem.ListViewSubItem sub = new ListViewItem.ListViewSubItem(lvi, descripion);
                sub.ForeColor = SystemColors.GrayText;
                lvi.SubItems.Add(sub);

                listMacro.Items.Add(lvi);
            }

            listMacro.EndUpdate();
        }