下面是代码
public partial class Activity2 : SequenceActivity { //private static int count = 0;
public Activity2() { //count++; InitializeComponent(); }
protected override void Initialize(IServiceProvider provider) { base.Initialize(provider); }
protected override ActivityExecutionStatus Execute(ActivityExecutionContext executionContext) { Console.WriteLine("the second activity2");
// Console.WriteLine(count);
Console.ReadLine(); return base.Execute(executionContext); } }