public ResourceStorageKeyJewelGump(PlayerMobile from, ResourceStorageKeyJewel key)
            : base(25, 25)
        {
            m_From = from;
            m_Key = key;

            m_From.CloseGump(typeof(ResourceStorageKeyJewelGump));

            AddPage(0);

            AddBackground(50, 10, 455, 280 + 100, 5054);
            AddImageTiled(58, 20, 438, 260 + 100, 2624);
            AddAlphaRegion(58, 20, 438, 260 + 100);

            AddLabel(200, 25, 88, "Jewel  Warehouse");
	    AddLabel(125, 50, 0x486, "Withdraw Increment:");
	    AddLabel(275, 50, 0x480, key.WithdrawIncrement.ToString());
	    AddButton(330, 50, 4011, 4012, 17, GumpButtonType.Reply, 0);
	    AddButton(360, 50, 4011, 4012, 18, GumpButtonType.Reply, 0);
	    AddButton(390, 50, 4011, 4012, 19, GumpButtonType.Reply, 0);

            AddLabel(125, 225, 0x486, "Diamond");
            AddLabel(225, 225, 0x480, key.Diamond.ToString());
            AddButton(75, 225, 4005, 4007, 1, GumpButtonType.Reply, 0);

            AddLabel(325, 100, 0x486, "Sapphire");
            AddLabel(425, 100, 0x480, key.Sapphire.ToString());
            AddButton(275, 100, 4005, 4007, 2, GumpButtonType.Reply, 0);

            AddLabel(325, 125, 0x486, "Star Sapphire");
            AddLabel(425, 125, 0x480, key.StarSapphire.ToString());
            AddButton(275, 125, 4005, 4007, 3, GumpButtonType.Reply, 0);

            AddLabel(125, 275, 0x486, "Emerald");
            AddLabel(225, 275, 0x480, key.Emerald.ToString());
            AddButton(75, 275, 4005, 4007, 4, GumpButtonType.Reply, 0);

            AddLabel(325, 75, 0x486, "Ruby");
            AddLabel(425, 75, 0x480, key.Ruby.ToString());
            AddButton(275, 75, 4005, 4007, 5, GumpButtonType.Reply, 0);

            AddLabel(125, 100, 0x486, "Amethyst");
            AddLabel(225, 100, 0x480, key.Amethyst.ToString());
            AddButton(75, 100, 4005, 4007, 6, GumpButtonType.Reply, 0);

            AddLabel(125, 175, 0x486, "Citrine");
            AddLabel(225, 175, 0x480, key.Citrine.ToString());
            AddButton(75, 175, 4005, 4007, 7, GumpButtonType.Reply, 0);

            AddLabel(325, 150, 0x486, "Tourmaline");
            AddLabel(425, 150, 0x480, key.Tourmaline.ToString());
            AddButton(275, 150, 4005, 4007, 8, GumpButtonType.Reply, 0);

            AddLabel(125, 75, 0x486, "Amber");
            AddLabel(225, 75, 0x480, key.Amber.ToString());
            AddButton(75, 75, 4005, 4007, 9, GumpButtonType.Reply, 0);

            AddLabel(125, 325, 0x486, "Gold");
            AddLabel(225, 325, 0x480, key.Gold.ToString());
            AddButton(75, 325, 4005, 4007, 10, GumpButtonType.Reply, 0);

            AddLabel(125, 200, 0x486, "DarkSapphire");
            AddLabel(225, 200, 0x480, key.DarkSapphire.ToString());
            AddButton(75, 200, 4005, 4007, 11, GumpButtonType.Reply, 0);

            AddLabel(325, 200, 0x486, "WhitePearl");
            AddLabel(425, 200, 0x480, key.WhitePearl.ToString());
            AddButton(275, 200, 4005, 4007, 12, GumpButtonType.Reply, 0);

            AddLabel(125, 300, 0x486, "FireRuby");
            AddLabel(225, 300, 0x480, key.FireRuby.ToString());
            AddButton(75, 300, 4005, 4007, 13, GumpButtonType.Reply, 0);

            //AddLabel(325, 125, 0x486, "Apple");
            //AddLabel(425, 125, 0x480, key.Apple.ToString());
            //AddButton(275, 125, 4005, 4007, 11, GumpButtonType.Reply, 0);

            AddLabel(325, 275, 88, "Each Max:");
            AddLabel(425, 275, 0x480, key.StorageLimit.ToString());

            AddLabel(325, 300, 88, "Add ");
            AddButton(275, 300, 4005, 4007, 15, GumpButtonType.Reply, 0);

            AddLabel(325, 325, 88, "Collect all from backpack");
            AddButton(275, 325, 4005, 4007, 16, GumpButtonType.Reply, 0);

            
            
            
            AddLabel(125, 125, 0x486, "BlueDiamond");
            AddLabel(225, 125, 0x480, key.BlueDiamond.ToString());
            AddButton(75, 125, 4005, 4007, 20, GumpButtonType.Reply, 0);
            
            AddLabel(125, 250, 0x486, "EcruCitrine");
            AddLabel(225, 250, 0x480, key.EcruCitrine.ToString());
            AddButton(75, 250, 4005, 4007, 21, GumpButtonType.Reply, 0);
            
            AddLabel(325, 175, 0x486, "Turquoise");
            AddLabel(425, 175, 0x480, key.Turquoise.ToString());
            AddButton(275, 175, 4005, 4007, 22, GumpButtonType.Reply, 0);
            
            AddLabel(125, 150, 0x486, "BrilliantAmber");
            AddLabel(225, 150, 0x480, key.BrilliantAmber.ToString());
            AddButton(75, 150, 4005, 4007, 23, GumpButtonType.Reply, 0);

            AddLabel(125, 350, 0x486, "PerfectEmerald");
            AddLabel(225, 350, 0x480, key.PerfectEmerald.ToString());
            AddButton(75, 350, 4005, 4007, 24, GumpButtonType.Reply, 0);
            
            
            
        }
 public ResourceStorageKeyJewelTarget(ResourceStorageKeyJewel key)
     : base(18, false, TargetFlags.None)
 {
     m_Key = key;
 }