public void loadChildren()
        {
            childRow.Clear();
            children.Children.Clear();

            SQLQuery mSQLQuery = new SQLQuery();

            childList = mSQLQuery.childToLinkedList(mSQLQuery.getChildByParentID(GlobalVariables.globalParent.id));

            LinkedList <Child> notPending = new LinkedList <Child>();

            foreach (Child c in childList)
            {
                if (c.pending == 1)
                {
                    notPending.AddLast(c);
                }
                else
                {
                    c.lastName = GlobalVariables.globalParent.firstName;
                }
            }

            foreach (Child c in notPending)
            {
                childList.Remove(c);
            }

            showPendingChildren();
        }