⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 exchange.cs

📁 .NET工作流实例,适合刚接确工作流人员参考的例子.
💻 CS
字号:
using System;
using System.Collections.Generic;
using System.Text;

namespace WorkflowConsoleApplication2
{
    [Serializable()]
    public class NextStepEventArgs : System.Workflow.Activities.ExternalDataEventArgs
    {
        //一定要将实例ID向上传给基类
        public NextStepEventArgs(Guid instanceId)
            : base(instanceId)
        { }


        public string content;
        public string result;
    }

    [System.Workflow.Activities.ExternalDataExchange()]
    public interface IExternalEvent
    {
        event System.EventHandler<NextStepEventArgs> ApproveEvent;
        void Notify(dataform df);
    }

    [Serializable()]
    public class dataform
    {
        public string content;
        public string proposer;
        public string approver;
        public string result;
        public int state;
        public string guid;
    }

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -