Commit 481b5723 贾鹏旭

条码模板设置

1 个父辈 1f1501be
...@@ -3,6 +3,7 @@ using System.Collections.Generic; ...@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Drawing; using System.Drawing;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
using System.Web.UI.WebControls;
using System.Windows.Forms; using System.Windows.Forms;
using Asa.FaceControl; using Asa.FaceControl;
using BLL; using BLL;
...@@ -44,10 +45,6 @@ namespace SmartScan ...@@ -44,10 +45,6 @@ namespace SmartScan
{ {
BLLCommon.mateEdit.Save(ref mateCopy); BLLCommon.mateEdit.Save(ref mateCopy);
} }
private PointF[] LabelCenter() private PointF[] LabelCenter()
{ {
List<PointF> item = new(); List<PointF> item = new();
...@@ -861,5 +858,20 @@ namespace SmartScan ...@@ -861,5 +858,20 @@ namespace SmartScan
} }
} }
//private void button_1(Model.ISetMenu setMenu)
//{
// int buttonsPerRow = 4;
// // 计算按钮的宽度和高度
// int buttonWidth = panel6.Width / buttonsPerRow;
// int buttonHeight = panel6.Height / 2; // +1 用于保证有足够的高度放下所有按钮
// foreach (Control control in panel6.Controls)
// {
// control.Margin = new Padding(5);
// control.Width = buttonWidth;
// control.Height = buttonHeight;
// control.Size = new Size(buttonWidth, buttonHeight);
// }
//}
} }
} }
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!