Ejemplo n.º 1
0
 protected void UpdateSelectedElement(object controller, ElementEventArgs args)
 {
     // TODO: For some reason this event was being fired for either a null element or elementProperties was null.
     // It would be nice to figure out why this happened and correct the root problem so we can remove this if statement.
     if (args.Element != null && elementProperties != null)
     {
         elementProperties.UpdateFrom(args.Element);
         pgElement.Refresh();
     }
 }
Ejemplo n.º 2
0
 private static void UpdateSelectedElement(object controller, ElementEventArgs args)
 {
     elementProperties.UpdateFrom(args.Element);
     propGrid.Refresh();
 }
Ejemplo n.º 3
0
 protected void UpdateSelectedElement(object controller, ElementEventArgs args)
 {
     elementProperties.UpdateFrom(args.Element);
     pgElement.Refresh();
 }