Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string str2;

            if ((!this.Page.IsPostBack && ((str2 = BasePage.RequestString("Action")) != null)) && (str2 == "Copy"))
            {
                if (WorkFlow.Copy(BasePage.RequestInt32("FlowID")))
                {
                    base.Response.Write("<script type='text/javascript'>parent.frames[\"left\"].location.reload();</script>");
                    AdminPage.WriteSuccessMsg("<li>流程复制成功!</li>", "WorkFlowsManage.aspx");
                }
                else
                {
                    AdminPage.WriteErrMsg("<li>流程复制失败!</li>");
                }
            }
        }