/// <summary> /// Constructor. /// </summary> public WorklistPrintComponentControl(WorklistPrintComponent component) :base(component) { _component = component; InitializeComponent(); var browser = (Control)_component.WorklistPrintPreviewComponentHost.ComponentView.GuiElement; _previewPanel.Controls.Add(browser); browser.Dock = DockStyle.Fill; }
/// <summary> /// Constructor. /// </summary> public WorklistPrintComponentControl(WorklistPrintComponent component) : base(component) { _component = component; InitializeComponent(); var browser = (Control)_component.WorklistPrintPreviewComponentHost.ComponentView.GuiElement; _previewPanel.Controls.Add(browser); browser.Dock = DockStyle.Fill; }
/// <summary> /// Called by the host to assign this view to a component. /// </summary> public void SetComponent(IApplicationComponent component) { _component = (WorklistPrintComponent)component; }