check point

This commit is contained in:
meelstorm
2025-07-14 12:03:59 +02:00
commit d3cb790bd9
431 changed files with 44078 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
using System.ComponentModel;
using System.Windows.Forms;
namespace MaterialSkin.Controls
{
public class MaterialLabel : Label, IMaterialControl
{
[Browsable(false)]
public int Depth { get; set; }
[Browsable(false)]
public MaterialSkinManager SkinManager => MaterialSkinManager.Instance;
[Browsable(false)]
public MouseState MouseState { get; set; }
protected override void OnCreateControl()
{
base.OnCreateControl();
ForeColor = SkinManager.GetPrimaryTextColor();
Font = SkinManager.ROBOTO_REGULAR_11;
BackColorChanged += (sender, args) => ForeColor = SkinManager.GetPrimaryTextColor();
}
}
}