Ejemplo n.º 1
0
 public RepositoryItemPopupContainerEditCustomButton()
     : base()
 {
     protShowCustomButton = true;
     protButtonsForPopup  = new CustomButtonCollection();
     protButtonsForPopup.OnCollectionChanged += ButtonsCollections_OnCollectionChanged;
 }
Ejemplo n.º 2
0
        public override void Assign(RepositoryItem item)
        {
            base.Assign(item);
            RepositoryItemPopupContainerEditCustomButton currentRepository = (item as RepositoryItemPopupContainerEditCustomButton);

            ShowCustomButton    = currentRepository.ShowCustomButton;
            protButtonsForPopup = currentRepository.protButtonsForPopup;
            Events.AddHandler(CustomButtonClick, currentRepository.Events[CustomButtonClick]);
        }