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();
}