/// <summary>
        /// When the button for editing archived items is clicked, open the item editing window for the selected item unless there are errors
        /// </summary>
        private void Button_EditArchivedItem_Click(object sender, EventArgs e)
        {
            if (List_ArchivedItems.SelectedItem != null)
            {
                itemEditingWindow = new ArchivedItemEditingWindow(archivedItems[(string)List_ArchivedItems.SelectedItem], this);
                itemEditingWindow.LoadFields(archivedItems[(string)List_ArchivedItems.SelectedItem]);
                itemEditingWindow.ShowDialog();
            }

            else
            {
                HandleListErrors();
            }
        }
 /// <summary>
 /// When the button for adding archived items is clicked, open the item editing window for a new item
 /// </summary>
 private void Button_AddArchivedItem_Click(object sender, EventArgs e)
 {
     itemEditingWindow = new ArchivedItemEditingWindow(null, this);
     itemEditingWindow.ShowDialog();
 }