新增营销工具设置三种优惠券

This commit is contained in:
wule committed 2025-10-20 13:38:41 +08:00
1 parent 19af531572
commit 0210b76c45
28 files changed
+4697 -557

No files matched your search

+1
View File
@@ -60,6 +60,7 @@ namespace TemuKJD.UserComponent
{
e.Graphics.Clear(this.BackColor);
// 绘制字体
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit; // 或者 AntiAliasGridFit // 平滑字体
e.Graphics.DrawString(this.Text, this.Font, new SolidBrush(this.ForeColor), 10, 1);
// 计算文本大小
var vSize = e.Graphics.MeasureString(this.Text, this.Font);