/// <summary> /// Constructor /// </summary> public PathProfileComponentControl(PathProfileComponent component) : base(component) { InitializeComponent(); _component = component; Refresh(null, EventArgs.Empty); _component.AllPropertiesChanged += new EventHandler(Refresh); }
/// <summary> /// Constructor /// </summary> public PathProfileComponentControl(PathProfileComponent component) :base(component) { InitializeComponent(); _component = component; Refresh(null, EventArgs.Empty); _component.AllPropertiesChanged += new EventHandler(Refresh); }
public RoiAnalysisComponentContainer(IImageViewerToolContext imageViewerToolContext) { RoiHistogramComponent roiHistogramComponent = new RoiHistogramComponent(imageViewerToolContext); roiHistogramComponent.Container = this; _roiHistogramPage = new TabPage("Roi", roiHistogramComponent); this.Pages.Add(_roiHistogramPage); PathProfileComponent pathProfileComponent = new PathProfileComponent(imageViewerToolContext); pathProfileComponent.Container = this; _pathProfilePage = new TabPage("Path", pathProfileComponent); this.Pages.Add(_pathProfilePage); }
public void SetComponent(IApplicationComponent component) { _component = (PathProfileComponent)component; }