Пример #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;
 }