Esempio n. 1
0
 private void OnDeleteItem(PropertyItem item)
 {
     propertyItemCreater.RemoveItem(item);
     if (!string.IsNullOrEmpty(item.key))
     {
         propertyDic.Remove(item.key);
     }
 }
Esempio n. 2
0
 public void SetAcitveKey(ResourceDic dic, string key)
 {
     if (key == "rect")
     {
         dic.Remove("padding");
     }
     else if (key == "padding")
     {
         dic.Remove("rect");
     }
 }