private void menu_Test_Click(object sender, RoutedEventArgs e)
        {
            if (isCreate)
            {
                XomlLoder             xl  = new XomlLoder();
                WindowsWorkflowObject wfo = xl.GetFlow <WindowsWorkflowObject>(designer);



                if (wfo == null)
                {
                    MessageBox.Show("流程验证失败");
                    return;
                }

                wxwinter.wf.Test.test ts = new wxwinter.wf.Test.test(wfo.Xoml, wfo.Rules);
                ts.Show();
            }
        }
        private void menu_Test_Click(object sender, RoutedEventArgs e)
        {
            if (isCreate)
            {
                XomlLoder xl = new XomlLoder();
                WindowsWorkflowObject wfo = xl.GetFlow<WindowsWorkflowObject>(designer);

                if (wfo == null)
                {
                    MessageBox.Show("流程验证失败");
                    return;
                }

                wxwinter.wf.Test.test ts = new wxwinter.wf.Test.test(wfo.Xoml, wfo.Rules);
                ts.Show();

            }
        }