private void buttonWaitActivity_Click(object sender, RoutedEventArgs e)
        {
            if (isCreate)
            {
                WaitControlData wd = new WaitControlData();
                wd.办理查看业务表单 = this.designer.流程数据.启动时填写的表单;
                wd.办理时限     = 5;
                wd.处理方式     = "组接件";

                WaitControl wc = new WaitControl()
                {
                    X坐标 = 150, Y坐标 = 200, 类型 = "节", 结点数据 = wd
                };

                ToolWindows.SetWindowWaitControl swc = new ToolWindows.SetWindowWaitControl(wc, designer.NameList);
                swc.办理人员.IsEnabled  = false;
                swc.处理方式.IsReadOnly = true;
                swc.ShowDialog();

                if (swc.ButtonSelect == "ok")
                {
                    designer.AddActivity(wc);
                }
                swc.Close();
            }
        }
        private void setData_MouseUp(object sender, MouseButtonEventArgs e)
        {
            ToolWindows.SetWindowWaitControl swc = new ToolWindows.SetWindowWaitControl(this);

            swc.ShowDialog();

            swc.Close();

            this.显示分支选项();
        }
        private void buttonSelfWaitActivity_Click(object sender, RoutedEventArgs e)
        {
            if (isCreate)
            {
                WaitControlData wd = new WaitControlData();
                wd.处理方式 = "到人";
                wd.办理时限 = 5;

                wd.办理查看业务表单 = this.designer.流程数据.启动时填写的表单;
                wd.办理人员 = "";

                WaitControl wc = new WaitControl() { X坐标 = 150, Y坐标 = 200, 类型 = "节", 结点数据=wd };

                ToolWindows.SetWindowWaitControl swc = new ToolWindows.SetWindowWaitControl(wc, designer.NameList);

                swc.接件部门.IsEnabled = false;
                swc.接件职能.IsEnabled = false;
                swc.处理方式.IsReadOnly = true;

                swc.ShowDialog();

                if (swc.ButtonSelect == "ok")
                {

                    designer.AddActivity(wc);
                }
                swc.Close();
            }
        }
        private void setData_MouseUp(object sender, MouseButtonEventArgs e)
        {
            ToolWindows.SetWindowWaitControl swc = new ToolWindows.SetWindowWaitControl(this);

            swc.ShowDialog();

            swc.Close();

            this.显示分支选项();
        }