コード例 #1
0
        protected override void Initialize()
        {
            // Hook the idle event to constantly redraw our animation.
            Application.Idle += delegate { Invalidate(); };

            Mouse.WindowHandle = this.Handle;

            content = new ContentManager(Services, "Content");
            g       = new CustomSpriteBatch(new SpriteBatch(GraphicsDevice));

            ActiveAnimationBackground = new AnimationBackground3D(content, GraphicsDevice);
        }
コード例 #2
0
 public BackgroundProperties(AnimationBackground3D ActiveAnimationBackground)
 {
     InitializeComponent();
     this.ActiveAnimationBackground = ActiveAnimationBackground;
 }