1拼多多皮肤 2打包编译脚本优化 3.头部选中所有的DataGridView列控件
This commit is contained in:
1 parent
05553a3ba3
commit
f04c74fa32
34 files changed
+1710
-1135
No files matched your search
@@ -144,7 +144,8 @@ namespace TemuKJD.UserControls
|
||||
e.Graphics.DrawLine(new Pen(tabSelectColor), new Point(rect.Left, rect.Top), new Point(rect.Right, rect.Top));
|
||||
e.Graphics.DrawLine(new Pen(tabSelectColor), new Point(rect.Right, rect.Top), new Point(rect.Right, rect.Bottom));
|
||||
// 绘制tab标题文字
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
|
||||
//e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
|
||||
e.Graphics.DrawString(this.TabPages[i].Text, this.Font, new SolidBrush(tabSelectTextColor), textPoint.X, textPoint.Y);
|
||||
}
|
||||
else
|
||||
@@ -152,7 +153,8 @@ namespace TemuKJD.UserControls
|
||||
// 绘制tab框
|
||||
e.Graphics.FillRectangle(new SolidBrush(tabSelectColor), this.GetTabRect(i));
|
||||
// 绘制tab标题文字
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
|
||||
//e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.SystemDefault;
|
||||
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
|
||||
e.Graphics.DrawString(this.TabPages[i].Text, this.Font, new SolidBrush(tabUnSelectTextColor), textPoint.X, textPoint.Y);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user