/// <summary>Add a relative path with macro support to the currently visible ListBox.</summary>
        private void btnAddRelative_Click(object sender, EventArgs e)
        {
            var dialog = new AddPathDialog();

            if (dialog.ShowDialog(this) == DialogResult.Cancel)
            {
                return;
            }

            if (!ActiveListBox.Items.Contains(dialog.Path))
            {
                ActiveListBox.Items.Add(dialog.Path);
            }
        }
        /// <summary>Add a relative path with macro support to the currently visible ListBox.</summary>
        private void btnAddRelative_Click(object sender, EventArgs e)
        {
            var dialog = new AddPathDialog();
            if (dialog.ShowDialog(this) == DialogResult.Cancel)
                return;

            if (!ActiveListBox.Items.Contains(dialog.Path))
                ActiveListBox.Items.Add(dialog.Path);
        }