void IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: ((TreemapControl)target).SizeChanged += new SizeChangedEventHandler(this.method_1); break; case 2: this.popup_0 = (Popup)target; break; case 3: this.contentControl_0 = (ContentControl)target; break; case 4: this.treemapHost_0 = (TreemapHost)target; break; case 5: this.treemapHighlight_0 = (TreemapHighlight)target; break; case 6: this.canvas_0 = (Canvas)target; break; case 7: this.canvas_1 = (Canvas)target; break; case 8: this.canvas_2 = (Canvas)target; this.canvas_2.MouseDown += new MouseButtonEventHandler(this.canvas_2_MouseDown); this.canvas_2.MouseMove += new MouseEventHandler(this.canvas_2_MouseMove); this.canvas_2.MouseEnter += new MouseEventHandler(this.canvas_2_MouseEnter); this.canvas_2.MouseLeave += new MouseEventHandler(this.canvas_2_MouseLeave); break; default: this.bool_0 = true; break; } }