示例#1
0
 public RepositoryItemPopupContainerEditCustomButton()
     : base()
 {
     protShowCustomButton = true;
     protButtonsForPopup  = new CustomButtonCollection();
     protButtonsForPopup.OnCollectionChanged += ButtonsCollections_OnCollectionChanged;
 }
示例#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]);
        }