/// <summary>
		/// Constructor
		/// </summary>
		public PerformingDocumentationOrderDetailsComponentControl(PerformingDocumentationOrderDetailsComponent component)
			: base(component)
		{
			InitializeComponent();

			_component = component;

			var protocols = (Control)_component.ProtocolHost.ComponentView.GuiElement;
			protocols.Dock = DockStyle.Fill;
			_protocolsPanel.Controls.Add(protocols);

			var notes = (Control)_component.NotesHost.ComponentView.GuiElement;
			notes.Dock = DockStyle.Fill;
			_orderNotesGroupBox.Controls.Add(notes);

			var rightHandContent = (Control)_component.RightHandComponentContainerHost.ComponentView.GuiElement;
			rightHandContent.Dock = DockStyle.Fill;
			_rightHandPanel.Controls.Add(rightHandContent);
		}
        /// <summary>
        /// Constructor
        /// </summary>
        public PerformingDocumentationOrderDetailsComponentControl(PerformingDocumentationOrderDetailsComponent component)
            : base(component)
        {
            InitializeComponent();

            _component = component;

            var protocols = (Control)_component.ProtocolHost.ComponentView.GuiElement;

            protocols.Dock = DockStyle.Fill;
            _protocolsPanel.Controls.Add(protocols);

            var notes = (Control)_component.NotesHost.ComponentView.GuiElement;

            notes.Dock = DockStyle.Fill;
            _orderNotesGroupBox.Controls.Add(notes);

            var rightHandContent = (Control)_component.RightHandComponentContainerHost.ComponentView.GuiElement;

            rightHandContent.Dock = DockStyle.Fill;
            _rightHandPanel.Controls.Add(rightHandContent);
        }
 public void SetComponent(IApplicationComponent component)
 {
     _component = (PerformingDocumentationOrderDetailsComponent)component;
 }
 public void SetComponent(IApplicationComponent component)
 {
     _component = (PerformingDocumentationOrderDetailsComponent)component;
 }