internal LearnerEmploymentStatus(LearnerEmploymentStatus MigrationLearnerEmploymentStatus, XmlNode Node, XmlNamespaceManager NSMgr)
        {
            this.Node  = Node;
            this.NSMgr = NSMgr;

            this.EmpStat        = MigrationLearnerEmploymentStatus.EmpStat;
            this.DateEmpStatApp = MigrationLearnerEmploymentStatus.DateEmpStatApp;
            this.EmpId          = MigrationLearnerEmploymentStatus.EmpId;

            foreach (EmploymentStatusMonitoring migrationItem in MigrationLearnerEmploymentStatus.EmploymentStatusMonitoringList)
            {
                XmlNode newNode = Node.OwnerDocument.CreateElement("EmploymentStatusMonitoring", NSMgr.LookupNamespace("ia"));
                EmploymentStatusMonitoring newInstance = new EmploymentStatusMonitoring(migrationItem, newNode, NSMgr);
                EmploymentStatusMonitoringList.Add(newInstance);
                Node.AppendChild(newNode);
            }
        }
 private void Remove_Click(object sender, RoutedEventArgs e)
 {
     if (EmploymentStatusItemsCV.CurrentItem != null)
     {
         ILR.LearnerEmploymentStatus les2Remove = EmploymentStatusItemsCV.CurrentItem as ILR.LearnerEmploymentStatus;
         if (les2Remove != null)
         {
             _learner.Delete(les2Remove);
             EmploymentStatusItemsCV.MoveCurrentToPrevious();
             LearnerEmploymentStatus ldTmp = EmploymentStatusItemsCV.CurrentItem as LearnerEmploymentStatus;
             if (ldTmp != null)
             {
                 ldTmp.IsSelected = true;
             }
         }
     }
     EmploymentStatusItemsCV.Refresh();
     OnPropertyChanged("EmploymentStatusItemsCV");
     ShouldShowListView();
 }