Пример #1
0
        public static void Init_CaseState(WorkFlowCaseState up_CaseState, WorkFlowToolbar up_Toolbar, RmsPM.Web.User up_User)
        {
            try
            {
                /**************************************************************************************/
                //流程状态查看
                up_CaseState.ActCode         = up_Toolbar.ActCode;
                up_CaseState.ApplicationCode = up_Toolbar.ApplicationCode;
                up_CaseState.FlowName        = up_Toolbar.FlowName;
                up_CaseState.UserCode        = up_User.UserCode;
                up_CaseState.Scout           = up_Toolbar.Scout;
                up_CaseState.ControlDataBind();

                /**************************************************************************************/
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
Пример #2
0
 virtual protected void SetBaseControl()
 {
     wftToolbar     = (WorkFlowToolbar)Page.FindControl("wftToolbar");
     wfcCaseState   = (WorkFlowCaseState)Page.FindControl("wfcCaseState");
     ucCheckControl = (RmsPM.Web.WorkFlowOperation.CheckControl)Page.FindControl("ucCheckControl");
 }