Example #1
0
 protected void RemoveItem(ICASRowController ths, CASPart part)
 {
     if (ths is CASClothingCategory)
     {
         CASClothingCategoryEx.RemoveItem(ths as CASClothingCategory, part);
     }
     else if (ths is CASMakeup)
     {
         CASMakeupEx.RemoveItem(ths as CASMakeup, part);
     }
 }
Example #2
0
 protected void SelectItem(ICASRowController ths, CASPart part, CASPartPreset preset)
 {
     if (ths is CASClothingCategory)
     {
         CASClothingCategoryEx.SelectItem(ths as CASClothingCategory, part, preset, mAllowMultiple);
     }
     else if (ths is CASMakeup)
     {
         CASMakeupEx.SelectItem(ths as CASMakeup, part, preset, mAllowMultiple);
     }
 }