public MainForm(IControlFactory controlFactory, ILogger <MainForm> logger) { logger.LogInformation("Launched management UI."); InitializeComponent(); _aboutTabPage.Controls.Add(controlFactory.CreateDockedControl <AboutControl>()); _serversTabPage.Controls.Add(controlFactory.CreateDockedControl <ServerGridControl>()); _workflowsTabPage.Controls.Add(controlFactory.CreateDockedControl <WorkflowGridControl>()); _alertsTabPage.Controls.Add(controlFactory.CreateDockedControl <EmailConfigControl>()); }