示例#1
0
        private void button1_Click(object sender, EventArgs e)
        {
            WorkerProcessAgent wf = new WorkerProcessAgent();

            wf.Init();
        }
示例#2
0
        private void button2_Click(object sender, EventArgs e)
        {
            WorkerProcessAgent wf = new WorkerProcessAgent();

            wf.Receive();
        }
        public WorkerProcessAgent Create(IWorkjob job, IConsumer consumer)
        {
            WorkerProcessAgent process = new WorkerProcessAgent();

            return(process);
        }