Skip to content

Instantly share code, notes, and snippets.

@dvhthomas
Created October 5, 2009 02:13
Show Gist options
  • Save dvhthomas/201765 to your computer and use it in GitHub Desktop.
Save dvhthomas/201765 to your computer and use it in GitHub Desktop.
/// <summary>
/// Clean up the workflow environment. The Workflow Manager is listening
/// for changes in this property and will perform all the necessary
/// activities to reset the editing environment.
/// </summary>
private void OnStopEditing(bool saveChanges)
{
if (!_isSavedAction)
{
ActiveWorkflow = null;
}
_isSavedAction = false;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment