public SegmentationConfigurationComponentControl(SegmentationConfigurationComponent component) { _component = component; InitializeComponent(); _chkShowConfirmationWhenCreatingNewSegmentations.DataBindings.Add("Checked", _component, "ShowSegmentationCreationDialog", false, DataSourceUpdateMode.OnPropertyChanged); _txtCategoryTypeModifierXmlConfigurationFileLocation.DataBindings.Add("Text", _component, "CategoryTypeModifierConfigurationFileLocation", true, DataSourceUpdateMode.OnPropertyChanged); _txtAnatomicRegionAndModifierXmlConfigurationFile.DataBindings.Add("Text", _component, "AnatomicRegionModifierConfigurationFileLocation", true, DataSourceUpdateMode.OnPropertyChanged); }
public SegmentationConfigurationComponentControl(SegmentationConfigurationComponent component) { _component = component; InitializeComponent(); _chkShowConfirmationWhenCreatingNewSegmentations.DataBindings.Add("Checked", _component, "ShowSegmentationCreationDialog", false, DataSourceUpdateMode.OnPropertyChanged); _txtCategoryTypeModifierXmlConfigurationFileLocation.DataBindings.Add("Text", _component, "CategoryTypeModifierConfigurationFileLocation", true, DataSourceUpdateMode.OnPropertyChanged); _txtAnatomicRegionAndModifierXmlConfigurationFile.DataBindings.Add("Text", _component, "AnatomicRegionModifierConfigurationFileLocation", true, DataSourceUpdateMode.OnPropertyChanged); }
/// <summary> /// Called by the host to assign this view to a component. /// </summary> public void SetComponent(IApplicationComponent component) { _component = (SegmentationConfigurationComponent)component; }
/// <summary> /// Called by the host to assign this view to a component. /// </summary> public void SetComponent(IApplicationComponent component) { _component = (SegmentationConfigurationComponent)component; }