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();
      }
}


Skip to main content