www.pudn.com > wxwinter2.rar > ClassViewForm.cs


using System; 
using System.Collections.Generic; 
using System.ComponentModel; 
using System.Data; 
using System.Drawing; 
using System.Text; 
using System.Windows.Forms; 
 
namespace wxwinter.wf.DesignerForm 
{ 
    public partial class ClassViewForm : Form 
    { 
        public ClassViewForm() 
        { 
            InitializeComponent(); 
        } 
        wxwinter.wf.Design.wxdWFSequentialView wfd; 
 
        private void button1_Click(object sender, EventArgs e) 
        { 
 
            wfd.ShowWorkflow(new wf.TestWorkflow.workflow()); 
 
            
 
             
        } 
 
        private void button2_Click(object sender, EventArgs e) 
        { 
        
        } 
 
        private void ClassViewForm_Load(object sender, EventArgs e) 
        { 
            wfd = new wxwinter.wf.Design.wxdWFSequentialView(); 
 
            wfd.Dock = DockStyle.Fill; 
            this.panel2.Controls.Add(wfd); 
        } 
    } 
}