public LiteShowroomWrapperWithTools(ToolsKn5ObjectRenderer renderer, CarObject car, string skinId) : base(renderer, car.DisplayName) { _helper = new AttachedHelper(this, new LiteShowroomTools(renderer, car, skinId)); GoToNormalMode(); renderer.VisibleUi = false; Form.Move += OnMove; }
public TrackMapRendererWrapper(TrackObjectBase track, TrackMapPreparationRenderer renderer) : base(renderer, track.Name, 680, 680) { _helper = new AttachedHelper(this, new TrackMapRendererTools(track, renderer), 240); }
private CmPreviewsWrapper(CarObject car, DarkKn5ObjectRenderer renderer, string skinId, string presetFilename) : base(renderer, "Previews Params", CommonAcConsts.PreviewWidth, CommonAcConsts.PreviewHeight) { _tools = new CmPreviewsTools(renderer, car, skinId, presetFilename); _helper = new AttachedHelper(this, _tools); }