1拼多多皮肤 2打包编译脚本优化 3.头部选中所有的DataGridView列控件

This commit is contained in:
wule committed 2026-05-08 18:05:54 +08:00
1 parent 05553a3ba3
commit f04c74fa32
34 files changed
+1710 -1135

No files matched your search

+15 -4
View File
@@ -34,6 +34,8 @@ namespace TemuKJD.BaseForms
private void BaseForm_Load(object sender, EventArgs e)
{
setSkinColor(this);
using (Graphics graphics = Graphics.FromHwnd(IntPtr.Zero))
{
dpi = graphics.DpiX;
@@ -88,6 +90,18 @@ namespace TemuKJD.BaseForms
tree.GroupFont = ngf;
}
if (c.Name == "pnlSA")
{
}
}
}
public void setSkinColor(Control control)
{
foreach (Control c in control.Controls)
{
setSkinColor(c);
// pdd皮肤颜色
if (BaseClass.MainPath == "binxixi")
{
@@ -137,6 +151,7 @@ namespace TemuKJD.BaseForms
{
var dgv = c as UserComponent.DataGridViewEx;
dgv.BorderColor = GlobalConfig.PddMainColor;
dgv.DefaultCellStyle.SelectionBackColor = GlobalConfig.PddMainColor;
}
if (c is UserComponent.UcCheckBox)
{
@@ -152,10 +167,6 @@ namespace TemuKJD.BaseForms
tc.TabSelectTextColor = GlobalConfig.PddMainColor;
}
}
if (c.Name == "pnlSA")
{
}
}
}
}