Esempio n. 1
0
        //Initializes the designer setting up the services, surface, and loader
        private void Initialize()
        {
            if (this.surface != null)
            {
                this.surface.Dispose();
            }

            this.loader  = new Loader();
            this.surface = new WorkflowDesignSurface(new MemberCreationService());
        }
Esempio n. 2
0
        private void Clear()
        {
            if (this.surface == null)
            {
                return;
            }

            if (this.workflowViewValue != null)
            {
                if (Controls.Contains(this.workflowViewValue))
                {
                    Controls.Remove(this.workflowViewValue);
                }
                this.workflowViewValue.Dispose();
                this.workflowViewValue = null;
            }

            this.surface.Dispose();
            this.surface = null;
            this.loader  = null;
        }
Esempio n. 3
0
        private void Clear()
        {
            if (this.surface == null)
                return;

            if (this.workflowViewValue != null)
            {
                if (Controls.Contains(this.workflowViewValue))
                    Controls.Remove(this.workflowViewValue);
                this.workflowViewValue.Dispose();
                this.workflowViewValue = null;
            }

            this.surface.Dispose();
            this.surface = null;
            this.loader = null;
        }
Esempio n. 4
0
        //Initializes the designer setting up the services, surface, and loader
        private void Initialize()
        {
            if (this.surface != null)
                this.surface.Dispose();

            this.loader = new Loader();
            this.surface = new WorkflowDesignSurface(new MemberCreationService());
        }