예제 #1
0
        string flowName = ""; //工作流名称
        protected void loadIni()
        {
            string tableName = DataType.GetTableName(this.RelationObjectType);

            if (tableName == "")
            {
                MessageBox.Show("指定参数错误【RelationObjectType】", "工作流实例建立向导提示您:", MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
                return;
            }
            else
            {
                flowName              = WorkFlow.NewInstance.GetWFTemplatesInfoByWFID(this.WfTemplatesID).WFT_NAME.ToString();
                this.Text             = "【" + flowName + "】" + WorkFlow.GetObjectTitle(this.RelationObjectType, this.ObjectKey);
                this.txtFlowName.Text = flowName;
            }
            CreateFlowGraphicByWFTID();
        }
예제 #2
0
        string flowName = ""; //工作流名称
        protected void loadIni()
        {
            DataType.RelationObjectType item = (DataType.RelationObjectType)Enum.Parse(typeof(DataType.RelationObjectType), APP.RELATIONOBJECTTYPE, false);
            string tableName = DataType.GetTableName(item);

            if (tableName == "")
            {
                MessageBox.Show("指定参数错误【RelationObjectType】", "工作流实例建立向导提示您:", MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
                return;
            }
            else
            {
                flowName              = WorkFlow.NewInstance.GetWFTemplatesInfoByWFID(APP.WFT_ID).WFT_NAME.ToString();
                this.Text             = "【" + flowName + "】" + WorkFlow.GetObjectTitle(item, APP.OBJECTKEY);
                this.txtFlowName.Text = flowName;
            }
            CreateFlowGraphicByWFTID();
        }