From 20d4fc36c96d40b9e90ee0f6f8ca86c5251a2428 Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期二, 24 五月 2022 16:49:14 +0800 Subject: [PATCH] 新增了根据配置文件去判断刷卡按钮是否显示 --- BLL/公用模块/FrmLogin.cs | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git "a/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs" "b/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs" index 46aa95d..00253fd 100644 --- "a/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs" +++ "b/BLL/\345\205\254\347\224\250\346\250\241\345\235\227/FrmLogin.cs" @@ -266,6 +266,17 @@ lblIPAddress.Text = "IP:" + Pub_Class.ClsPub.IPAddress + " " + Pub_Class.ClsPub.ComputerName; CheckUseOrgID(); textBox1.Focus(); + string sCompName = ClsIni.ReadIni("Erp", "HCompName", DBUtility.ClsPub.AppPath + @"/HXErp.ini"); //绯荤粺閰嶇疆鏂囦欢 瀹㈡埛鍚嶇О + if (sCompName == "濂ラ偊") + { + textBox1.Visible = true; + button1.Visible = true; + } + else + { + textBox1.Visible = false; + button1.Visible = false; + } } //鏍¢獙缁勭粐 -- Gitblit v1.9.1