private void RefreshFields(TerritoryEmployeeTerritory tmp)
 {
     _EmployeeTerritoryInfoExtension.Refresh(this);
     _MyEmployee  = null;
     _MyTerritory = null;
     OnChange();            // raise an event
 }
示例#2
0
 private void ProcessRefreshList()
 {
     foreach (Region tmp in _RefreshRegions)
     {
         RegionInfo.Refresh(tmp);
     }
     foreach (RegionTerritory tmp in _RefreshRegionTerritories)
     {
         TerritoryInfo.Refresh(tmp);
     }
 }
示例#3
0
 private void ProcessRefreshList()
 {
     foreach (Territory tmp in _RefreshTerritories)
     {
         TerritoryInfo.Refresh(tmp);
         if (tmp._MyRegion != null)
         {
             RegionInfo.Refresh(tmp._MyRegion);
         }
     }
     foreach (TerritoryEmployeeTerritory tmp in _RefreshTerritoryEmployeeTerritories)
     {
         EmployeeTerritoryInfo.Refresh(this, tmp);
     }
 }
示例#4
0
 private void ProcessRefreshList()
 {
     foreach (EmployeeTerritory tmp in _RefreshEmployeeTerritories)
     {
         EmployeeTerritoryInfo.Refresh(tmp);
         if (tmp._MyEmployee != null)
         {
             EmployeeInfo.Refresh(tmp._MyEmployee);
         }
         if (tmp._MyTerritory != null)
         {
             TerritoryInfo.Refresh(tmp._MyTerritory);
         }
     }
 }
示例#5
0
 // Default Refresh
 public virtual void Refresh(TerritoryInfo tmp)
 {
 }