/// <summary>
        /// Constructor
        /// </summary>
        public DicomExplorerConfigurationComponentControl(DicomExplorerConfigurationComponent component)
            :base(component)
        {
            InitializeComponent();

            _component = component;

			BindingSource bindingSource = new BindingSource();
			bindingSource.DataSource = _component;

			_selectDefaultServerOnStartup.DataBindings.Add("Checked", bindingSource, "SelectDefaultServerOnStartup", true, DataSourceUpdateMode.OnPropertyChanged);
			_showNumberOfImages.DataBindings.Add("Checked", bindingSource, "ShowNumberOfImagesInStudy", true, DataSourceUpdateMode.OnPropertyChanged);
			_showPhoneticIdeographicNames.DataBindings.Add("Checked", bindingSource, "ShowPhoneticIdeographicNames", true, DataSourceUpdateMode.OnPropertyChanged);
		}
        /// <summary>
        /// Constructor
        /// </summary>
        public DicomExplorerConfigurationComponentControl(DicomExplorerConfigurationComponent component)
            : base(component)
        {
            InitializeComponent();

            _component = component;

            BindingSource bindingSource = new BindingSource();

            bindingSource.DataSource = _component;

            _selectDefaultServerOnStartup.DataBindings.Add("Checked", bindingSource, "SelectDefaultServerOnStartup", true, DataSourceUpdateMode.OnPropertyChanged);
            _showNumberOfImages.DataBindings.Add("Checked", bindingSource, "ShowNumberOfImagesInStudy", true, DataSourceUpdateMode.OnPropertyChanged);
            _showPhoneticIdeographicNames.DataBindings.Add("Checked", bindingSource, "ShowPhoneticIdeographicNames", true, DataSourceUpdateMode.OnPropertyChanged);
        }
 public void SetComponent(IApplicationComponent component)
 {
     _component = (DicomExplorerConfigurationComponent)component;
 }
 public void SetComponent(IApplicationComponent component)
 {
     _component = (DicomExplorerConfigurationComponent)component;
 }