public ActivityDesigner() { this.Loaded += (sender, args) => { this.SetupDefaultIcon(); this.annotationManager.Initialize(); }; this.Unloaded += (sender, args) => { this.annotationManager.Uninitialize(); }; this.annotationManager = new AnnotationManager(this); }
private void InitializeAnnotation() { this.annotationManager = new AnnotationManager(this); this.annotationManager.AnnotationVisualProvider = new FlowSwitchDesignerAnnotationVisualProvider(this); }