예제 #1
0
 public void AddToCollection()
 {
     for (int i = 0; i < 6; i++)
     {
         collection[i]      = new ManagerType();
         collection[i].Type = coll[i];
     }
 }
예제 #2
0
 public void IsYourType(string typeManager)
 {
     _tpy = new ManagerType();
     ManagerType[] arr = ManagerTypeCol.collection;
     foreach (ManagerType i in arr)
     {
         if (typeManager == i.Type)
         {
             _tpy = i;
         }
     }
 }