예제 #1
0
        public override void Assign(RepositoryItem item)
        {
            base.Assign(item);
            RepositoryItemPopupContainerEditCustomButton currentRepository = (item as RepositoryItemPopupContainerEditCustomButton);

            this.ShowCustomButton    = currentRepository.ShowCustomButton;
            this.protButtonsForPopup = currentRepository.protButtonsForPopup;
            Events.AddHandler(CustomButtonClick, currentRepository.Events[CustomButtonClick]);
        }
예제 #2
0
 // static constructor
 static PopupContainerEditCustomButton()
 {
     RepositoryItemPopupContainerEditCustomButton.RegisterPopupContainerEditCustomButton();
 }