Click here to Skip to main content
15,895,462 members
Articles / Desktop Programming / XAML

Busy Dizzy Bee-sley Spirographic Animation in Expression Blend & Silverlight

Rate me:
Please Sign up or sign in to vote.
4.89/5 (45 votes)
11 May 2010CPOL9 min read 79.3K   628   39  
Simulating a random motion animation without code, using Spirographic Shapes, PathListBoxes, Storyboards & Behaviours
#pragma checksum "D:\SilverlightWork\Tutorials\Busy Dizzy Bee-sley\Busy Bee\BusyBee\BusyBee\MainPage.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "9C11F26E33EF20923A829289F3C66D94"
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Runtime Version:4.0.30319.1
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Windows;
using System.Windows.Automation;
using System.Windows.Automation.Peers;
using System.Windows.Automation.Provider;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Interop;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Resources;
using System.Windows.Shapes;
using System.Windows.Threading;


namespace BusyBee {
    
    
    public partial class MainPage : System.Windows.Controls.UserControl {
        
        internal System.Windows.Media.Animation.Storyboard BusyBeeMotion01;
        
        internal System.Windows.Media.Animation.Storyboard BusyBeeParentMotion;
        
        internal System.Windows.Controls.Grid LayoutRoot;
        
        internal System.Windows.Shapes.Path ParentMotion;
        
        internal Microsoft.Expression.Controls.PathListBox ParentPathListBox;
        
        internal System.Windows.Shapes.Path BusyBeeMotionPath;
        
        internal Microsoft.Expression.Controls.PathListBox pathListBox;
        
        private bool _contentLoaded;
        
        /// <summary>
        /// InitializeComponent
        /// </summary>
        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
        public void InitializeComponent() {
            if (_contentLoaded) {
                return;
            }
            _contentLoaded = true;
            System.Windows.Application.LoadComponent(this, new System.Uri("/BusyBee;component/MainPage.xaml", System.UriKind.Relative));
            this.BusyBeeMotion01 = ((System.Windows.Media.Animation.Storyboard)(this.FindName("BusyBeeMotion01")));
            this.BusyBeeParentMotion = ((System.Windows.Media.Animation.Storyboard)(this.FindName("BusyBeeParentMotion")));
            this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
            this.ParentMotion = ((System.Windows.Shapes.Path)(this.FindName("ParentMotion")));
            this.ParentPathListBox = ((Microsoft.Expression.Controls.PathListBox)(this.FindName("ParentPathListBox")));
            this.BusyBeeMotionPath = ((System.Windows.Shapes.Path)(this.FindName("BusyBeeMotionPath")));
            this.pathListBox = ((Microsoft.Expression.Controls.PathListBox)(this.FindName("pathListBox")));
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
User Interface Analyst
United Kingdom United Kingdom
I've been playing with computers since my first Acorn Electron, & after blowing up a few ZX Spectrums. I moved on to the C64 & Amiga, & eventually reluctantly on to the PC.

I have learnt a wide set of skills during my 38 years of existence, living in the UK, on the sunny south coast.

My main area of expertise is Graphic/Visual Design, Usability & UI Design. I am not a programmer, but am fairly technically minded due to studying Mechanical Engineering at Uni.

I have work both Freelance & for IBM as a Graphic Designer, & am skilled in the usual graphics packages like, PhotoShop, CorelDraw or Illustrator, Premier, Dreamweaver, Flash etc.
But I originally started with Lightwave & 3D animation.

Comments and Discussions