Changed: simplified tile container, removed group label

This commit is contained in:
Ray committed 2020-05-15 01:19:09 +01:00
1 parent 5ad779ddab
commit 9e167916cb
25 files changed
+443 -131

No files matched your search

@@ -9,7 +9,7 @@ using System.Windows.Forms;
namespace RyzStudio.Windows.Forms
{
public class FlatButton : Label
public class TFlatButton : Label
{
public class FlatButtonStyle
{
@@ -26,7 +26,7 @@ namespace RyzStudio.Windows.Forms
protected FlatButtonState controlState = FlatButtonState.Idle;
public FlatButton() : base()
public TFlatButton() : base()
{
this.AutoSize = false;
this.ImageAlign = ContentAlignment.MiddleCenter;
@@ -1,6 +1,6 @@
namespace RyzStudio.Windows.Forms
{
partial class HorizontalSeparator
partial class THorizontalSeparator
{
/// <summary>
/// Required designer variable.
@@ -3,9 +3,9 @@ using System.Windows.Forms;
namespace RyzStudio.Windows.Forms
{
public partial class HorizontalSeparator : System.Windows.Forms.UserControl
public partial class THorizontalSeparator : System.Windows.Forms.UserControl
{
public HorizontalSeparator()
public THorizontalSeparator()
{
InitializeComponent();
@@ -17,8 +17,10 @@ namespace RyzStudio.Windows.Forms
base.OnPaintBackground(e);
Graphics g = e.Graphics;
g.FillRectangle(new SolidBrush(Color.FromArgb(213, 223, 229)), new Rectangle(this.DisplayRectangle.Left, 0, this.DisplayRectangle.Width, 1));
g.FillRectangle(new SolidBrush(Color.FromArgb(249, 251, 253)), new Rectangle(this.DisplayRectangle.Left, 1, this.DisplayRectangle.Width, 1));
}
}
}
@@ -4,9 +4,9 @@ using System.Drawing;
namespace RyzStudio.Windows.Forms
{
public class ImageBox : System.Windows.Forms.PictureBox
public class TImageBox : System.Windows.Forms.PictureBox
{
public ImageBox() : base()
public TImageBox() : base()
{
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.ErrorImage = null;
@@ -22,7 +22,7 @@ namespace RyzStudio.Windows.Forms
}
[Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
public new Image Image { get => base.Image; set { base.Image = value; } }
public new Image Image { get => base.Image; set => base.Image = value; }
[Category("Appearance"), Browsable(true)]
public Image NormalImage { get; set; }