/// <summary> /// 初始化流程类型 /// </summary> private void LoadProcessTemplate() { String[] processType = TableName.GetAllProcessDisplayName(); String[] l_strAryProcessType = TableName.GetAllWorkItemTableName(); ddlProcessTemplate.Items.Add(new ListItem("", "")); for (int i = 0; i < processType.Length; i++) { ddlProcessTemplate.Items.Add(new ListItem(SysString.GetPTDisplayName(processType[i]), l_strAryProcessType[i])); } }
/// <summary> /// 初始化流程类型 /// </summary> private void LoadProcessTemplate() { String[] processType = TableName.GetAllProcessDisplayName(); String[] l_strAryProcessType = TableName.GetAllProcessTemplateName(); ddlProcessTemplate.Items.Add(new ListItem("", "")); for (int i = 0; i < processType.Length; i++) { ddlProcessTemplate.Items.Add(new ListItem(SysString.GetPTDisplayName(processType[i]), l_strAryProcessType[i])); } this.ddlStepName.Enabled = false; this.ddlStepName.Items.Clear(); }