public MasterItemStoreKeyGump( Mobile owner, MasterItemStoreKey key ) : base( 450, 50 ) { if( !( owner is PlayerMobile ) ) { return; } _Owner = (PlayerMobile)owner; _Key = key; //clear old gumps that are up _Owner.CloseGump( typeof( MasterItemStoreKeyGump ) ); //set up the page AddPage(0); AddBackground(0, 0, Width, Height, 9270); AddImageTiled(11, 10, Width - 22, Height - 20, 2624); AddAlphaRegion(11, 10, Width - 22, Height - 20); AddTitle(); if( !AddKeyListing() ) { //clear old gumps that are up _Owner.CloseGump( typeof( MasterItemStoreKeyGump ) ); return; } AddControlButtons(); }
public AddKeyTarget( MasterItemStoreKey key ) : base( 1, false, TargetFlags.None ) { _MasterItemStoreKey = key; }
public AddKeyTarget(MasterItemStoreKey key) : base(1, false, TargetFlags.None) { _MasterItemStoreKey = key; }