public DicomEditorControl(DicomEditorComponent component) { Platform.CheckForNullReference(component, "component"); InitializeComponent(); _dicomEditorComponent = component; _dicomTagTable.Table = _dicomEditorComponent.DicomTagData; _dicomTagTable.ToolbarModel = _dicomEditorComponent.ToolbarModel; _dicomTagTable.MenuModel = _dicomEditorComponent.ContextMenuModel; _dicomTagTable.SelectionChanged += new EventHandler(OnDicomTagTableSelectionChanged); _dicomTagTable.MultiLine = true; _dicomEditorTitleBar.DataBindings.Add("Text", _dicomEditorComponent, "DicomFileTitle", true, DataSourceUpdateMode.OnPropertyChanged); }
public DicomEditorControl(DicomEditorComponent component) { Platform.CheckForNullReference(component, "component"); InitializeComponent(); _dicomEditorComponent = component; _dicomTagTable.Table = _dicomEditorComponent.DicomTagData; _dicomTagTable.ToolbarModel = _dicomEditorComponent.ToolbarModel; _dicomTagTable.MenuModel = _dicomEditorComponent.ContextMenuModel; _dicomTagTable.SelectionChanged +=new EventHandler(OnDicomTagTableSelectionChanged); _dicomTagTable.MultiLine = true; _dicomEditorTitleBar.DataBindings.Add("Text", _dicomEditorComponent, "DicomFileTitle", true, DataSourceUpdateMode.OnPropertyChanged); }