Example #1
0
 public void GroupAddProperty(PropertySlider slider)
 {
     if (slider?.propertyRef?.ID != null && !propertiesDict.ContainsKey(slider.propertyRef.ID))
     {
         propertiesDict.Add(slider.propertyRef.ID, slider);
     }
 }
Example #2
0
 public void UpdateProperty(WingProperty wp)
 {
     if (lastEditedPropertyRef.propertyRef.ID != wp.ID)
     {
         PropertySlider slider;
         if (propertiesDict.TryGetValue(wp.ID, out slider))
         {
             lastEditedPropertyRef = slider;
             SetLastModifiedProperty(wp);
         }
     }
     lastEditedPropertyRef.Refresh(wp);
 }