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

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);
+1 -1
View File
@@ -168,7 +168,7 @@ namespace TemuKJD.UserComponent
//e.Graphics.DrawRectangle(Pens.Red, this.GetTabRect(i));
if (this.SelectedIndex == i)
{
for (int j = 0; j < 1; j++)
for (int j = 0; j < 2; j++)
e.Graphics.DrawLine(new Pen(tabSelectColor),
new Point(this.GetTabRect(i).Left + 0, this.GetTabRect(i).Bottom - j),
new Point(this.GetTabRect(i).Right - 5, this.GetTabRect(i).Bottom - j));