예제 #1
0
 //Override the Assign method
 public override void Assign(RepositoryItem item)
 {
     BeginUpdate();
     try
     {
         base.Assign(item);
         RepositoryItemCustomEdit source = item as RepositoryItemCustomEdit;
         if (source == null)
         {
             return;
         }
         useDefaultMode = source.UseDefaultMode;
     }
     finally
     {
         EndUpdate();
     }
 }
예제 #2
0
 //The static constructor which calls the registration method
 static CustomEdit()
 {
     RepositoryItemCustomEdit.RegisterCustomEdit();
 }