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