Beispiel #1
0
        private void bInfo_Click(object sender, EventArgs e)
        {
            SpriteProperties properties = new SpriteProperties(m_parent.Document, m_ss);

            properties.ShowDialog();

            // The name of the sprite may have changed, so update the form title.
            SetTitle();
        }
Beispiel #2
0
        private void menuSprite_Properties_Click(object sender, EventArgs e)
        {
            Spriteset ss = ActiveSpriteset();
            Sprite    s  = ActiveSprite();

            if (s == null)
            {
                return;
            }

            SpriteProperties properties = new SpriteProperties(m_doc, ss);

            properties.ShowDialog();

            // The name of the sprite may have changed, so update the form title.
            ss.SpriteWindow.SetTitle();
        }
        private void menuSprite_Properties_Click(object sender, EventArgs e)
        {
            Spriteset ss = ActiveSpriteset();
            Sprite s = ActiveSprite();
            if (s == null)
                return;

            SpriteProperties properties = new SpriteProperties(m_doc, ss);
            properties.ShowDialog();

            // The name of the sprite may have changed, so update the form title.
            ss.SpriteWindow.SetTitle();
        }