/// <summary>
        /// Constructor
        /// </summary>
        public BiographyNoteComponentControl(BiographyNoteComponent component)
        {
            InitializeComponent();
            _component = component;

            this.Dock = DockStyle.Fill;

            _noteTable.Table = _component.NoteTable;
            _noteTable.DataBindings.Add("Selection", _component, "SelectedNote", true, DataSourceUpdateMode.OnPropertyChanged);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        public BiographyNoteComponentControl(BiographyNoteComponent component)
        {
            InitializeComponent();
            _component = component;

            this.Dock = DockStyle.Fill;

            _noteTable.Table = _component.NoteTable;
            _noteTable.DataBindings.Add("Selection", _component, "SelectedNote", true, DataSourceUpdateMode.OnPropertyChanged);
        }
 public void SetComponent(IApplicationComponent component)
 {
     _component = (BiographyNoteComponent)component;
 }
Exemplo n.º 4
0
 public void SetComponent(IApplicationComponent component)
 {
     _component = (BiographyNoteComponent)component;
 }