RoadFlow2.1 临时演示

Set_Flow.aspx.cs 1.2KB

12345678910111213141516171819202122232425262728
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. namespace WebForm.Platform.WorkFlowDesigner
  8. {
  9. public partial class Set_Flow : Common.BasePage
  10. {
  11. protected RoadFlow.Platform.WorkFlow bworkFlow = new RoadFlow.Platform.WorkFlow();
  12. protected RoadFlow.Platform.DBConnection bdbConn = new RoadFlow.Platform.DBConnection();
  13. protected string base_TypesOptions = string.Empty;
  14. protected string link_DBConnOptions = string.Empty;
  15. protected bool isAdd = false;
  16. protected string flowID = string.Empty;
  17. protected string defaultManager = string.Empty;
  18. protected void Page_Load(object sender, EventArgs e)
  19. {
  20. base_TypesOptions = bworkFlow.GetTypeOptions();
  21. link_DBConnOptions = bdbConn.GetAllOptions();
  22. isAdd = "1" == Request.QueryString["isadd"];
  23. flowID = Request.QueryString["flowid"].IsGuid() && !isAdd ? Request.QueryString["flowid"] : Guid.NewGuid().ToString();
  24. defaultManager = RoadFlow.Platform.Users.PREFIX + RoadFlow.Platform.Users.CurrentUserID.ToString();
  25. }
  26. }
  27. }