public override void OnResize() { _dbCompiler.PositionTopRightInside(this); _btnExit.PositionBottomRightInside(this); _btnPrevious.PositionLeftOf(_btnExit); _tbOutput.PositionBelow(_dbCompiler); _tbOutput.StretchLeftInside(this); _tbOutput.StretchRightInside(this); _tbOutput.StretchDownTo(_btnPrevious); _tbOutput.Label.PositionAbove(_tbOutput); }
public override void OnResize() { _dbParser.PositionTopRightInside(this); _btnNext.PositionBottomRightInside(this); _tbInput.PositionBelow(_dbParser); _tbInput.StretchLeftInside(this); _tbInput.StretchRightInside(this); _tbInput.StretchDownTo(_btnNext); _tbInput.Label.PositionAbove(_tbInput); var parserControls = Settings.Get.SelectedParser.Value.Controls.ToList(); ControlHelpers.AnchorLoop(parserControls, c => c.PositionRightOf(_tbInput.Label), (o, c) => c.PositionRightOf(o)); }