public ImageBrowserComponentControl(ImageBrowserComponent component)
        {
            InitializeComponent();

            _ImageBrowserComponent = component;

            //_ImageBrowserComponent.SelectedServerChanged += new EventHandler(OnSelectedServerChanged);
            _seriesTableView.Table             = _ImageBrowserComponent.SeriesList;
            _seriesTableView.ToolbarModel      = _ImageBrowserComponent.ToolbarModel;
            _seriesTableView.MenuModel         = _ImageBrowserComponent.ContextMenuModel;
            _seriesTableView.SelectionChanged += new EventHandler(OnSeriesTableViewSelectionChanged);
            //_seriesTableView.ItemDoubleClicked += new EventHandler(OnSeriesTableViewDoubleClick);

            _bindingSource            = new BindingSource();
            _bindingSource.DataSource = _ImageBrowserComponent;
        }
 public ImageBrowserToolContext(ImageBrowserComponent component)
 {
     Platform.CheckForNullReference(component, "component");
     _component = component;
 }
Пример #3
0
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (ImageBrowserComponent)component;
 }