DotNet 4.8.1 build of DotNetBar

This commit is contained in:
jjenko committed 2025-02-07 10:35:23 -05:00
1 parent 33439b63a0
commit 6b0a5d60f4
2609 files changed
+989814 -7

No files matched your search

@@ -0,0 +1,23 @@
using System;
using System.Text;
namespace DevComponents.DotNetBar
{
/// <summary>
/// Represents the base class for the SystemCaptionItem painter.
/// </summary>
internal class SystemCaptionItemPainter
{
public virtual void Paint(SystemCaptionItemRendererEventArgs e)
{
if (e.SystemCaptionItem.IsSystemIcon)
PaintSystemIcon(e, e.SystemCaptionItem.GetEnabled());
else
PaintFormButtons(e);
}
public virtual void PaintSystemIcon(SystemCaptionItemRendererEventArgs e, bool isEnabled) { }
public virtual void PaintFormButtons(SystemCaptionItemRendererEventArgs e) { }
}
}