TaskEventArgs.cs
using
System;
using System.Collections.Generic;
using System.Text;
using System.Workflow.Activities;
using Microsoft.SharePoint.Workflow;
namespace wfACT
{
[Serializable()]
public class TaskEventArgs:EventArgs
{
}
}
自定义方法: using System.Collections.Generic;
using System.Text;
using System.Workflow.Activities;
using Microsoft.SharePoint.Workflow;
namespace wfACT
{
[Serializable()]
public class TaskEventArgs:EventArgs
{
}
}
public
static
DependencyProperty onTaskChanged_IsTaskCompleteEvent
=
DependencyProperty.Register(
"
onTaskChanged_IsTaskComplete
"
,
typeof
(System.EventHandler
<
wfACT.TaskEventArgs
>
),
typeof
(wfACT.TaskActivity));
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[BrowsableAttribute( true )]
[CategoryAttribute( " TaskChanged属性 " )]
public event EventHandler < TaskEventArgs > onTaskChanged_IsTaskComplete
{
add
{
base.AddHandler(onTaskChanged_IsTaskCompleteEvent, value);
}
remove
{
base.RemoveHandler(onTaskChanged_IsTaskCompleteEvent, value);
}
}
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Visible)]
[BrowsableAttribute( true )]
[CategoryAttribute( " TaskChanged属性 " )]
public event EventHandler < TaskEventArgs > onTaskChanged_IsTaskComplete
{
add
{
base.AddHandler(onTaskChanged_IsTaskCompleteEvent, value);
}
remove
{
base.RemoveHandler(onTaskChanged_IsTaskCompleteEvent, value);
}
}