/// <summary>
        /// Constructor
        /// </summary>
        public OrderNoteboxConfigurationComponentControl(OrderNoteboxConfigurationComponent component)
            :base(component)
        {
            InitializeComponent();

            _component = component;

        	_foldersTableView.Table = _component.StaffGroupTable;
			_foldersTableView.DataBindings.Add("Selection", _component, "SelectedTableItem", true, DataSourceUpdateMode.OnPropertyChanged);
        	_foldersTableView.MenuModel = _foldersTableView.ToolbarModel = _component.ActionModel;
        	_groupLookup.LookupHandler = _component.StaffGroupLookupHandler;
			_groupLookup.DataBindings.Add("Value", _component, "StaffGroupToAdd", true, DataSourceUpdateMode.OnPropertyChanged);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Constructor
        /// </summary>
        public OrderNoteboxConfigurationComponentControl(OrderNoteboxConfigurationComponent component)
            : base(component)
        {
            InitializeComponent();

            _component = component;

            _foldersTableView.Table = _component.StaffGroupTable;
            _foldersTableView.DataBindings.Add("Selection", _component, "SelectedTableItem", true, DataSourceUpdateMode.OnPropertyChanged);
            _foldersTableView.MenuModel = _foldersTableView.ToolbarModel = _component.ActionModel;
            _groupLookup.LookupHandler  = _component.StaffGroupLookupHandler;
            _groupLookup.DataBindings.Add("Value", _component, "StaffGroupToAdd", true, DataSourceUpdateMode.OnPropertyChanged);
        }
 public void SetComponent(IApplicationComponent component)
 {
     _component = (OrderNoteboxConfigurationComponent)component;
 }
Ejemplo n.º 4
0
 public void SetComponent(IApplicationComponent component)
 {
     _component = (OrderNoteboxConfigurationComponent)component;
 }