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

            _patientId.Value        = _component.PatientId;
            _patientsName.Value     = _component.PatientsName;
            _dob.Value              = _component.PatientsBirthDate;
            _accessionNumber.Value  = _component.AccessionNumber;
            _studyDate.Value        = _component.StudyDate;
            _studyDescription.Value = _component.StudyDescription;

            _seriesTable.Table        = _component.SeriesTable;
            _seriesTable.ToolbarModel = _component.ToolbarActionModel;
            _seriesTable.MenuModel    = _component.ContextMenuActionModel;

            base.AcceptButton = _close;
            base.CancelButton = _close;
        }
        /// <summary>
        /// Constructor.
        /// </summary>
		public SeriesDetailsComponentControl(SeriesDetailsComponent component)
            :base(component)
        {
			_component = component;
            InitializeComponent();

        	_patientId.Value = _component.PatientId;
			_patientsName.Value = _component.PatientsName;
			_dob.Value = _component.PatientsBirthDate;
			_accessionNumber.Value = _component.AccessionNumber;
			_studyDate.Value = _component.StudyDate;
			_studyDescription.Value = _component.StudyDescription;

        	_seriesTable.Table = _component.SeriesTable;
        	_seriesTable.ToolbarModel = _component.ToolbarActionModel;
        	_seriesTable.MenuModel = _component.ContextMenuActionModel;

        	base.AcceptButton = _close;
			base.CancelButton = _close;
		}