public ControlPanel(MainWindow parentWindow) { InitializeComponent(); ParentWindow = parentWindow; FloorPlanControls = new CP_FloorPlanControls(ParentWindow); SimulationStats = new CP_SimulationStats(ParentWindow); ImportExport = new CP_ImportExport(ParentWindow); Import.OnImportFeedBack += OnImportedFloorPlan; SetupUserControlTabs(); }