public FormDesignerHost(WorkItem workItem, IQuickFormDefinition quickForm)
        {
            InitializeComponent();

            quickFormsDefinitionCompositeEditor1.SelectionService =
                workItem.Services.Get<ISelectionService>();
            quickFormsDefinitionCompositeEditor1.BrowsableService =
                workItem.Services.Get<IBrowsableObjectService>();
            quickFormsDefinitionCompositeEditor1.DataSource = quickForm;
            ApplicationContextDefiler.SetRootWorkItemProjectLocalizationService(workItem);

            _propertyGrid = workItem.BuildTransientItem(typeof(PropertyGridToolWindow)) as PropertyGridToolWindow;
            _propertyGrid.Dock = DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(_propertyGrid);

            WorkItem = workItem;
        }