예제 #1
0
        /// <summary>
        /// Constructor
        /// </summary>
        public PathProfileComponentControl(PathProfileComponent component)
            : base(component)
        {
            InitializeComponent();

            _component = component;

            Refresh(null, EventArgs.Empty);
            _component.AllPropertiesChanged += new EventHandler(Refresh);
        }
예제 #2
0
        /// <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);
		}
예제 #4
0
 public void SetComponent(IApplicationComponent component)
 {
     _component = (PathProfileComponent)component;
 }
예제 #5
0
 public void SetComponent(IApplicationComponent component)
 {
     _component = (PathProfileComponent)component;
 }