public ResourceStorageKeyWoodGump(PlayerMobile from, ResourceStorageKeyWood key)
            : base(25, 25)
        {
            m_From = from;
            m_Key = key;

            m_From.CloseGump(typeof(ResourceStorageKeyWoodGump));

            AddPage(0);

            AddBackground(50, 10, 455, 305, 5054);
            AddImageTiled(58, 20, 438, 291, 2624);
            AddAlphaRegion(58, 20, 438, 291);

            AddLabel(200, 25, 88, "Wood Warehouse");
//Kazuha
	    AddLabel(125, 50, 0x486, "Withdraw Increment");
	    AddLabel(275, 50, 0x480, key.WithdrawIncrement.ToString());
	    AddButton(330, 50, 4011, 4012, 20, GumpButtonType.Reply, 0);
            AddButton(360, 50, 4011, 4012, 21, GumpButtonType.Reply, 0);
            AddButton(390, 50, 4011, 4012, 22, GumpButtonType.Reply, 0);
//Kazuha


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


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


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


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

            AddLabel(125, 175, 0x486, "Logs / Boards");
            AddLabel(225, 175, 0x480, key.LogBoards.ToString());
            AddButton(75, 175, 4005, 4007, 5, GumpButtonType.Reply, 0);
            
            
            AddLabel(125, 200, 0x486, "Oak wood");
            AddLabel(225, 200, 0x480, key.OakBoards.ToString());
            AddButton(75, 200, 4005, 4007, 6, GumpButtonType.Reply, 0);
            
            
            AddLabel(125, 225, 0x486, "Yew Wood");
            AddLabel(225, 225, 0x480, key.YewBoards.ToString());
            AddButton(75, 225, 4005, 4007, 7, GumpButtonType.Reply, 0);
          
            
            

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

//            AddLabel(125, 100, 0x486, "Willow");
//            AddLabel(225, 100, 0x480, key.WillowBoard.ToString());
//            AddButton(75, 100, 4005, 4007, 2, GumpButtonType.Reply, 0);

//            AddLabel(125, 125, 0x486, "Cedar");
//            AddLabel(225, 125, 0x480, key.CedarBoard.ToString());
//            AddButton(75, 125, 4005, 4007, 3, GumpButtonType.Reply, 0);

//            AddLabel(125, 150, 0x486, "Cypress");
//            AddLabel(225, 150, 0x480, key.CypressBoard.ToString());
//            AddButton(75, 150, 4005, 4007, 4, GumpButtonType.Reply, 0);

//            AddLabel(125, 225, 0x486, "Yew");
//            AddLabel(225, 225, 0x480, key.YewBoards.ToString());
//            AddButton(75, 225, 4005, 4007, 5, GumpButtonType.Reply, 0);

//			AddLabel(125, 250, 0x486, "Oak");
//            AddLabel(225, 250, 0x480, key.OakBoards.ToString());
//            AddButton(75, 250, 4005, 4007, 6, GumpButtonType.Reply, 0);

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

//            AddLabel(125, 200, 0x486, "Sequoia");
//            AddLabel(225, 200, 0x480, key.SequoiaBoard.ToString());
//            AddButton(75, 200, 4005, 4007, 8, GumpButtonType.Reply, 0);



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

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

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

            AddLabel(325, 175, 0x486, "Feather");
            AddLabel(425, 175, 0x480, key.Feather.ToString());
            AddButton(275, 175, 4005, 4007, 15, GumpButtonType.Reply, 0);

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

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

            AddLabel(325, 250, 88, "Add resource");
            AddButton(275, 250, 4005, 4007, 17, GumpButtonType.Reply, 0);

            AddLabel(325, 275, 88, "Collect Board From Backpack");
            AddButton(275, 275, 4005, 4007, 18, GumpButtonType.Reply, 0);
        }
 public ResourceStorageKeyWoodTarget(ResourceStorageKeyWood key)
     : base(18, false, TargetFlags.None)
 {
     m_Key = key;
 }