Exemplo n.º 1
0
        public override void Initialize()
        {
            m_gumplingTop      = (GumpPic)AddControl(new GumpPic(this, 0, 0, 0, 0x0820, 0));
            m_gumplingMiddle   = (GumpPicTiled)AddControl(new GumpPicTiled(this, 0, 0, 0, 0, 0, 0x0822));
            m_gumplingBottom   = (GumpPic)AddControl(new GumpPic(this, 0, 0, 0, 0x0823, 0));
            m_gumplingExpander = (Button)AddControl(new Button(this, 0, 0, 0, 0x082E, 0x82F, ButtonTypes.Activate, 0, gumplingExpander_ButtonID));

            m_gumplingExpander.OnMouseDown = expander_OnMouseDown;
            m_gumplingExpander.OnMouseUp   = expander_OnMouseUp;
            m_gumplingExpander.OnMouseOver = expander_OnMouseOver;
        }
Exemplo n.º 2
0
        public override void Initialize()
        {
            m_gumplingTop = (GumpPic)AddControl(new GumpPic(this, 0, 0, 0, 0x0820, 0));
            m_gumplingMiddle = (GumpPicTiled)AddControl(new GumpPicTiled(this, 0, 0, 0, 0, 0, 0x0822));
            m_gumplingBottom = (GumpPic)AddControl(new GumpPic(this, 0, 0, 0, 0x0823, 0));
            m_gumplingExpander = (Button)AddControl(new Button(this, 0, 0, 0, 0x082E, 0x82F, ButtonTypes.Activate, 0, gumplingExpander_ButtonID));

            m_gumplingExpander.OnMouseDown = expander_OnMouseDown;
            m_gumplingExpander.OnMouseUp = expander_OnMouseUp;
            m_gumplingExpander.OnMouseOver = expander_OnMouseOver;
        }