コード例 #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());
        }
コード例 #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;
        }
コード例 #3
0
ファイル: ViewHost.cs プロジェクト: spzenk/sfdocsamples
        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;
        }
コード例 #4
0
ファイル: ViewHost.cs プロジェクト: spzenk/sfdocsamples
        //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());
        }