From e67f92c7009bb2680cd0e3d57de9323be7613a12 Mon Sep 17 00:00:00 2001 From: "nodyang@aliyun.com" Date: Thu, 14 Nov 2024 08:52:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E4=BB=BD=E6=98=A8=E5=A4=A9=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RfidWeb/FormMain.cs | 20 ++++++++++---------- RfidWeb/Frm/UserAlarmShow.cs | 5 ++++- RfidWeb/RfidWeb.csproj | 31 +++++++++++++++++++++++++++++++ RfidWeb/logo.ico | Bin 0 -> 67646 bytes 4 files changed, 45 insertions(+), 11 deletions(-) create mode 100644 RfidWeb/logo.ico diff --git a/RfidWeb/FormMain.cs b/RfidWeb/FormMain.cs index 20f63d8..f4a312b 100644 --- a/RfidWeb/FormMain.cs +++ b/RfidWeb/FormMain.cs @@ -37,16 +37,16 @@ namespace RfidWeb var rfidSetting = RfidSetting.Current; InitializeComponent(); - //if (this.FormBorderStyle == FormBorderStyle.None) - //{ - // this.FormBorderStyle = FormBorderStyle.FixedSingle; - // this.WindowState = FormWindowState.Normal; - //} - //else - //{ - // this.FormBorderStyle = FormBorderStyle.None; - // this.WindowState = FormWindowState.Maximized; - //} + if (this.FormBorderStyle == FormBorderStyle.None) + { + this.FormBorderStyle = FormBorderStyle.FixedSingle; + this.WindowState = FormWindowState.Normal; + } + else + { + this.FormBorderStyle = FormBorderStyle.None; + this.WindowState = FormWindowState.Maximized; + } Init(); } diff --git a/RfidWeb/Frm/UserAlarmShow.cs b/RfidWeb/Frm/UserAlarmShow.cs index 78be568..cec9bd1 100644 --- a/RfidWeb/Frm/UserAlarmShow.cs +++ b/RfidWeb/Frm/UserAlarmShow.cs @@ -52,7 +52,10 @@ namespace RfidWeb.Frm { int currentFirstVisibleRowIndex = dataGridView1.FirstDisplayedScrollingRowIndex; this.dataGridView1.DataSource=lsList; - dataGridView1.FirstDisplayedScrollingRowIndex = currentFirstVisibleRowIndex; + if (currentFirstVisibleRowIndex > 0) + { + dataGridView1.FirstDisplayedScrollingRowIndex = currentFirstVisibleRowIndex; + } }); // ThreadPoolX.QueueUserWorkItem(UpdateLog); diff --git a/RfidWeb/RfidWeb.csproj b/RfidWeb/RfidWeb.csproj index acdd13a..bbd2baa 100644 --- a/RfidWeb/RfidWeb.csproj +++ b/RfidWeb/RfidWeb.csproj @@ -12,6 +12,21 @@ 512 true true + publish\ + true + Disk + false + Foreground + 7 + Days + false + false + true + 0 + 1.0.0.%2a + false + false + true AnyCPU @@ -32,6 +47,9 @@ prompt 4 + + logo.ico + 5.40.0 @@ -255,6 +273,7 @@ + @@ -262,5 +281,17 @@ + + + False + Microsoft .NET Framework 4.8 %28x86 和 x64%29 + true + + + False + .NET Framework 3.5 SP1 + false + + \ No newline at end of file diff --git a/RfidWeb/logo.ico b/RfidWeb/logo.ico new file mode 100644 index 0000000000000000000000000000000000000000..ca9609ddc287991aed9638384f90df554b5ebcc5 GIT binary patch literal 67646 zcmeHQXP6a579HL1!~M6q!N8hz0dpeDfFwaO1B^r!MM;COfG8+}0xF7vAW=X^(jZw7 zS0qXfiljlpFl11XG=v#osIBvs#(qtQy4_X%-t4QIucu#CS682VPjz>7)va4eNmuc| z-o2Cf|J##_{rRe->ywg_it&vnAu*DUpOMJ_ez^WGbV2uB2Z&$n&M}ZAV&aJvMXv=WPG(YWAG?}wLsFAVupgE$Em*>8w4NFOr{I=zJQQ48>j6*upiN3mb~-1=vn-vVU}^x| zf@5%P=AXwKK3%>f%Q^ujus?ej_}{~~9Np$m zEbbxgxpR5oKaX#TC%l$8q5*KP`A^)+p!rW+?jgD6U-Pe@|A|`%^!=Z>+(UBBzvf>* z{}ZJo`Onu3dW)w(<^Q+ChgkcDwOHw!{&K}u_U6B`A$@wX{0kRC6R~6C`d8qv!-lk~ z#cpGBGA2mJ2HWVy+;-0Cy5{t<|GX|zC#8e%Ss;b~oD;`c>f?`j%Gsw=Tc2oXrycp_ zuqPI??v3AX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