Esempio n. 1
0
 public void DeleteEnum(ConfigTreeItem <PropertyConfig> p)
 {
     if (p.Model.EnumConfig != null)
     {
         p.Model.EnumConfig.Option.IsDelete = true;
     }
     p.Model.CustomType = null;
     p.ReShow();
 }
Esempio n. 2
0
 public void DeleteEnum(ConfigTreeItem <PropertyConfig> p)
 {
     p.Model.CustomType = null;
     if (p.Model.EnumConfig == null)
     {
         return;
     }
     p.Model.EnumConfig.IsDelete = true;
     p.Model.EnumConfig          = null;
     p.ReShow();
 }