コード例 #1
0
        /// <summary>
        /// Called by FIM when the UI for the activity must be reloaded.
        /// It passes us an instance of our workflow activity so that we can
        /// extract the values of the properties to display in the UI.
        /// </summary>
        public override void LoadActivitySettings(Activity activity)
        {
            AssignCostCenterManagerActivity _calc = activity as AssignCostCenterManagerActivity;

            if (null != _calc)
            {
                // this.SetText("_src", _calc.SetSource1);
                //this.SetText("_dest", _calc.SetDest1);
            }
        }
コード例 #2
0
        /// <summary>
        /// Called when a user clicks the Save button in the Workflow Designer.
        /// Returns an instance of the RequestLoggingActivity class that
        /// has its properties set to the values entered into the text box controls
        /// used in the UI of the activity.
        /// </summary>
        public override Activity GenerateActivityOnWorkflow(SequentialWorkflow workflow)
        {
            if (!this.ValidateInputs())
            {
                return(null);
            }
            AssignCostCenterManagerActivity _calc = new AssignCostCenterManagerActivity();

            // _calc.SetSource1 = this.GetText("_src");
            // _calc.SetDest1 = this.GetText("_dest");
            return(_calc);
        }