protected void btn_submit_Click(object sender, EventArgs e)
        {
            WebModels.Tbl_FlowNode node = new WebModels.Tbl_FlowNode();
            node.FlowID        = Convert.ToInt32(this.FlowName.SelectedValue);
            node.NodeNo        = this.NodeNo.Value;
            node.NodeName      = this.NodeName.Value;
            node.NodeStage     = this.NodeStage.SelectedValue;
            node.NodeType      = this.NodeType.SelectedValue;
            node.NodeUser      = WebCommon.Public.ListBoxValuesGet(NodeUser);
            node.NodeUserLimit = this.NodeUserLimit.SelectedValue;
            node.DealFlag      = 0;
            node.DealUser      = WebCommon.Public.GetUserName();
            int count = WebBLL.Tbl_FlowNodeManager.AddTbl_FlowNode(node);

            if (count > 0)
            {
                WebModels.Tbl_Flow tbl_flow = WebBLL.Tbl_FlowManager.GetTbl_FlowById(Convert.ToInt32(FlowName.SelectedValue));
                tbl_flow.FormContent = NodeFormArea.Value;
                WebBLL.Tbl_FlowManager.UpdateTbl_Flow(tbl_flow);
                ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('添加成功!');window.external.reload();window.external.close();", true);
            }
            else
            {
                ScriptManager.RegisterStartupScript(this, this.GetType(), "message", "alert('添加失败!');", true);
            }
        }
        public void Bind()
        {
            int ID = Convert.ToInt32(Request.QueryString["id"]);

            WebModels.Tbl_FlowNode node = WebBLL.Tbl_FlowNodeManager.GetTbl_FlowNodeById(ID);
            this.FlowName.SelectedValue      = node.FlowID.ToString();
            this.NodeName.Value              = node.NodeName;
            this.NodeNo.Value                = node.NodeNo;
            this.NodeStage.SelectedValue     = node.NodeStage;
            this.NodeType.SelectedValue      = node.NodeType;
            this.NodeUserLimit.SelectedValue = node.NodeUserLimit;
            WebCommon.Public.ListBoxValuesSet(NodeUser, node.NodeUser);
            NodeFormArea.Value = WebBLL.Tbl_FlowManager.GetTbl_FlowById(node.FlowID).FormContent;
        }