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();
		}
Ejemplo n.º 2
0
			public AddKeyTarget( MasterItemStoreKey key ) : base( 1, false, TargetFlags.None )
			{
				_MasterItemStoreKey = key;
			}
Ejemplo n.º 3
0
 public AddKeyTarget(MasterItemStoreKey key) : base(1, false, TargetFlags.None)
 {
     _MasterItemStoreKey = key;
 }