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

ItemRemoved() public method

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