/// <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; }