Xwt.Dialog.WindowBackendHost.ItemAdded C# (CSharp) Method

ItemAdded() public method

public ItemAdded ( object collection, object item ) : void
collection object
item object
return void
            public virtual void ItemAdded(object collection, object item)
            {
                if (collection == Parent.commands) {
                    ((DialogButton)item).ParentDialog = Parent;
                    Parent.Backend.SetButtons (Parent.commands);
                }
            }