private void BtnAddItem_Click(object sender, RoutedEventArgs e)
        {
            // This is where we bring up the add sub menu
            var subMenu = new AddUserSubMenu();

            subMenu.OnItemAdded += SubMenu_OnItemAdded;
            subMenu.Closing     += SubMenu_Closing;
            subMenu.ShowDialog();
        }
        private void BtnUpdateItem_Click(object sender, RoutedEventArgs e)
        {
            if (dgToDoList.SelectedItem == null)
            {
                MessageBox.Show("An item must be selected from the list for you to update it!");
                return;
            }

            // This is where we bring up the update sub menu

            if (dgToDoList.SelectedItem is ToDoListItem item)
            {
                var updateMenu = new AddUserSubMenu();
                updateMenu.InitializeForUpdate(item);
                updateMenu.OnItemUpdated += UpdateMenu_OnItemUpdated;
                updateMenu.Closing       += SubMenu_Closing;
                updateMenu.ShowDialog();
            }
        }