HYPDM.WinUI.WorkFlow.Flow.StandardFlow.StandardFlow C# (CSharp) Méthode

StandardFlow() public méthode

传参构造方法,创建工作流实例的时候使用
public StandardFlow ( string objectKey, DataType relationObjectType, string wfTemplates ) : System
objectKey string 对象主键
relationObjectType DataType 关联类型
wfTemplates string 工作流模板ID
Résultat System
        public StandardFlow(string objectKey, DataType.RelationObjectType relationObjectType, string wfTemplates)
        {
            InitializeComponent();
            this.CenterToParent();

            this.ObjectKey = objectKey;
            this.RelationObjectType = relationObjectType;
            this.WfTemplatesID = wfTemplates;

            this.gpFlowDetail.Visible = false;
            if (this.ObjectKey == "")
            {
                MessageBox.Show("没有指定对象主键【ObjectKey】", "工作流实例建立向导提示您:", MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
                return;
            }
            this.txtUserPM.Text = CommonFuns.NewInstance.LoginInfo.LoginID;
            this.txtStatus.Text = "未激活";
            this.txtSubject.SelectAll();
            loadIni();
            // CreateFlowGraphicByWFTID();//绘流程图
            // loadIni();
        }

Same methods

StandardFlow::StandardFlow ( string templatesID, string wflowappID ) : System