/// <summary>
        /// Constructor.
        /// </summary>
        public DicomSeriesEditorComponentControl(DicomSeriesEditorComponent component)
            :base(component)
        {
			_component = component;
            InitializeComponent();

			_studyInstanceUID.DataBindings.Add("Value", _component, "StudyInstanceUID", true, DataSourceUpdateMode.OnPropertyChanged);
			_seriesInstanceUID.DataBindings.Add("Value", _component, "SeriesInstanceUID", true, DataSourceUpdateMode.OnPropertyChanged);
			_seriesNumber.DataBindings.Add("Value", _component, "SeriesNumber", true, DataSourceUpdateMode.OnPropertyChanged);
			_seriesNumber.DataBindings.Add("ReadOnly", _component, "IsSeriesNumberReadOnly");
			_seriesDescription.DataBindings.Add("Value", _component, "SeriesDescription", true, DataSourceUpdateMode.OnPropertyChanged);
			_numberOfImages.DataBindings.Add("Value", _component, "NumberOfSeriesRelatedInstances", true, DataSourceUpdateMode.OnPropertyChanged);

			_acceptButton.DataBindings.Add("Enabled", _component, "AcceptEnabled", true, DataSourceUpdateMode.OnPropertyChanged);
		}
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (DicomSeriesEditorComponent)component;
 }
 /// <summary>
 /// Called by the host to assign this view to a component.
 /// </summary>
 public void SetComponent(IApplicationComponent component)
 {
     _component = (DicomSeriesEditorComponent)component;
 }