1删除部分不需要的文件 2货号对应原价导入功能

This commit is contained in:
wule committed 2025-08-14 18:02:28 +08:00
1 parent 0492e87aee
commit 535adc6011
166 files changed
+2091 -55519

No files matched your search

+38 -2
View File
@@ -38,13 +38,49 @@ namespace TemuKJD.KJDForms.BaseForms
SetFont(c, dpi);
Font of = c.Font;
Font f = new Font(of.FontFamily, (of.Size * 96.0 / dpi).ParseToFloat(), of.Style, Font.Unit, Font.GdiCharSet, Font.Bold);
c.Font = f;
Font nf = new Font(of.FontFamily, (of.Size * 96.0 / dpi).ParseToFloat(), of.Style, of.Unit, of.GdiCharSet, of.Bold);
c.Font = nf;
if (c is DevComponents.DotNetBar.PanelEx)
{
var pEx = (c as DevComponents.DotNetBar.PanelEx);
if (pEx.Style.Font != null)
{
Font osf = pEx.Style.Font;
Font nsf = new Font(osf.FontFamily, (osf.Size * 96.0 / dpi).ParseToFloat(), osf.Style, osf.Unit, osf.GdiCharSet, osf.Bold);
pEx.Style.Font = nsf;
}
if (pEx.StyleMouseOver.Font != null)
{
Font oof = pEx.StyleMouseOver.Font;
Font nof = new Font(oof.FontFamily, (oof.Size * 96.0 / dpi).ParseToFloat(), oof.Style, oof.Unit, oof.GdiCharSet, oof.Bold);
pEx.StyleMouseOver.Font = nof;
}
if (pEx.StyleMouseDown.Font != null)
{
Font odf = pEx.StyleMouseDown.Font;
Font ndf = new Font(odf.FontFamily, (odf.Size * 96.0 / dpi).ParseToFloat(), odf.Style, odf.Unit, odf.GdiCharSet, odf.Bold);
pEx.StyleMouseDown.Font = ndf;
}
}
if (c is UserComponent.UcTreeView)
{
var tree = c as UserComponent.UcTreeView;
Font ogf = tree.GroupFont;
Font ngf = new Font(ogf.FontFamily, (ogf.Size * 96.0 / dpi).ParseToFloat(), ogf.Style, ogf.Unit, ogf.GdiCharSet, ogf.Bold);
tree.GroupFont = ngf;
}
if (c is DataGridView)
{
}
if (c.Name == "pnlSA")
{
}
}
}
}