Welcome to MSDN Blogs Sign in | Join | Help

Mark Schmidt's Abode

On Programming, Writing, Gaming, Fitness, Life

News

  • Have a Question?

    Click here to chat with me

    XBox Live GamerTag


    Twitter



    The Mark Cam


    My MoBlog

    www.flickr.com
    This is a Flickr badge showing public photos from codepunk. Make your own badge here.

    Community-Credit

Windows Workflow Animated Activity Designer

Keeping in line with Mark Schmidt tradition, I present to you a little teaser. I will be posting the code for an animated custom activity designer that you can use for your custom activities. Not only will it allow you to create a cool looking animated custom activity in the Windows Workflow Designer, you can integrate the custom activity designer into your project using only 2 lines of code. The flash file you see below for the MoveFilesActivity uses my generic animated activity designer and only needs to apply the following 2 attributes to the custom activity to get it to work:

[Designer(typeof(AnimatedActivityDesigner), typeof(IDesigner))]
[
AnimatedActivityDesigner(EmbeddedGifResourceName = "AnimatedActivityLib.FileMove.gif")]
public partial class MoveFilesActivity : System.Workflow.ComponentModel.Activity
{
      
public MoveFilesActivity()
      {
            
InitializeComponent();
      }
}

Posted: Wednesday, September 20, 2006 2:33 PM by markhsch
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker