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); }
public BackgroundProperties(AnimationBackground3D ActiveAnimationBackground) { InitializeComponent(); this.ActiveAnimationBackground = ActiveAnimationBackground; }