public void ddlTypeSelected(object source, EventArgs e)
        {
            _ItsView.StatusSource       = DiyProcessUtility.GetStatusSource(_ItsView.ProcessType.Id);
            _ItsView.SystemStatusSource = DiyProcessUtility.GetSystemStatusSource(_ItsView.ProcessType.Id);
            List <DiyStep> items = new List <DiyStep>();

            DiyProcessUtility.AddNullItem(_ItsView.ProcessType.Id, items);
            _ItsView.DiyStepList = items;
        }
        public void InitView(bool isPagePostBack)
        {
            _ItsView.ddlTypeSelected += ddlTypeSelected;
            AttachViewEvent();
            GetAllSource();

            _ItsView.ResultMessage = string.Empty;

            if (!isPagePostBack)
            {
                _ItsView.NameMessage = string.Empty;
                GetProcessTypeSource();
            }
            _ItsView.SystemStatusSource = DiyProcessUtility.GetSystemStatusSource(_ItsView.ProcessType.Id);
            _ItsView.StatusSource       = DiyProcessUtility.GetStatusSource(_ItsView.ProcessType.Id);
            if (!isPagePostBack)
            {
                InitPresenter();
            }
        }
 private void GetDataSourceFromBll()
 {
     _ItsView.ProcessTypeSource = DiyProcessUtility.GetAllProcessType();
 }
 protected override void InitPresenter()
 {
     _ItsView.OperationType = "新增自定义流程";
     _ItsView.DiyStepList   = DiyProcessUtility.AddNullItem(_View.ProcessType.Id, new List <DiyStep>());
 }
 private void GetAllSource()
 {
     _ItsView.OperatorSource = DiyProcessUtility.GetOperatorSource();
     _ItsView.AccountList    = _AccountBll.GetAllHRMisAccount();
 }
 private void GetProcessTypeSource()
 {
     _ItsView.ProcessTypeSource = DiyProcessUtility.GetProcessTypeSource();
 }