public ArrowButton(string text, ArrowDirection arrowDirection, ThemeConfig theme, double pointSize = -1) : base(text, theme, pointSize) { var rightArrow = StaticData.Instance.LoadIcon("fa-angle-right_12.png", 10, 10, theme.InvertIcons); if (arrowDirection == ArrowDirection.Right) { this.Image = rightArrow; } else { var leftArrow = new ImageBuffer(rightArrow); leftArrow.FlipX(); this.Image = leftArrow; } this.ArrowDirection = arrowDirection; }