Пример #1
0
        private void Character()
        {
            ptbCharacter = new MyPictureBox(
                "ptbCharacter", new Point((Width - 54) / 2, Height - 100),
                new Size(67, 75), PictureBoxSizeMode.Zoom
                );

            idleAnime = new CreateAnimation(ptbCharacter, 4, MyStrings.adventureIdle, 10);
            idleAnime.StartAnimationLoop();
            Controls.Add(ptbCharacter);
        }