Пример #1
0
 public override void Assign(RepositoryItem item)
 {
     BeginUpdate();
     try {
         base.Assign(item);
         RepositoryItemCustomToggleSwitch source = item as RepositoryItemCustomToggleSwitch;
         if (source == null)
         {
             return;
         }
         //
     } finally {
         EndUpdate();
     }
 }
 static CustomToggleSwitch()
 {
     RepositoryItemCustomToggleSwitch.RegisterCustomToggleSwitch();
 }