private void updateUIAfterLoadingFatory(int height, int width, FactoryServiceReference.machineMap Factory) { ResizeGrid(height, width); toolbox.Init(); grid.InitFactoryGrid(Factory); Show3DGrid(); EnableSidebarOnFactoryLoaded(); }