Ejemplo n.º 1
0
 private void ShowOtherStaffSmallHead()
 {
     try
     {
         System.Collections.Generic.ICollection <TreeViewItem> cooperationStafffListTvi = this.dataService.GetCooperationStafffListTvi();
         if (cooperationStafffListTvi != null)
         {
             foreach (TreeViewItem item in cooperationStafffListTvi)
             {
                 if (item != null)
                 {
                     if (item.Header != null)
                     {
                         CollaborationNodeStaff temNodeCooperationStaff = item.Header as CollaborationNodeStaff;
                         if (temNodeCooperationStaff != null)
                         {
                             if (temNodeCooperationStaff != this && temNodeCooperationStaff.isBigHead)
                             {
                                 temNodeCooperationStaff.ShowSmallHead();
                             }
                         }
                     }
                 }
             }
         }
     }
     catch (System.Exception ex)
     {
         this.logger.Error(ex.ToString());
     }
 }