This commit is contained in:
Admin
2025-04-24 16:21:10 +08:00
parent 6973d39cad
commit ae5c1122ed
3 changed files with 7 additions and 42 deletions

View File

@ -546,12 +546,6 @@ namespace DHSoftware
#region CameraSum
private void InitialCameraSumsView()
{
dgvProductNums.AutoGenerateColumns = false;
dgvProductNums.DefaultCellStyle.Font = new Font("Tahoma", 12, FontStyle.Regular, GraphicsUnit.World);
dgvProductNums.DataSource = null;
dgvProductNums.DataSource = ProductSummaries;
@ -917,7 +911,7 @@ namespace DHSoftware
this.Invoke(new Action(() =>
{
dgvProductNums.DataSource = new BindingList<ProductSummary>(ProductSummaries);
//if (dgvProductNums.Rows.Count > 0)
//{
@ -1073,6 +1067,7 @@ namespace DHSoftware
private Thread _monitorThread;
private void MainWindow_Load(object sender, EventArgs e)
{
//开启按钮监听
// 启动所有监控线程
StartAllMonitors();