예제 #1
0
 public override void Assign(RepositoryItem item)
 {
     BeginUpdate();
     try {
         base.Assign(item);
         RepositoryItemCustomPictureEdit source = item as RepositoryItemCustomPictureEdit;
         if (source == null)
         {
             return;
         }
         HighlightFigureColor = source.HighlightFigureColor;
         ActiveFigureColor    = source.ActiveFigureColor;
     }
     finally {
         EndUpdate();
     }
 }
예제 #2
0
 static CustomPictureEdit()
 {
     RepositoryItemCustomPictureEdit.RegisterCustomPictureEdit();
 }