From 1869da0ed72dfa054f611bdd3c46aba8cc062b88 Mon Sep 17 00:00:00 2001 From: yxj <yxj@hz-kingdee.com> Date: 星期五, 05 一月 2024 17:09:08 +0800 Subject: [PATCH] 新增PDA用户登入验证调用方法,新增扫码返回供应商信息方法,扫码返回客户信息方法修改 --- NETERPNoWin/Frm_MESSetIni.cs | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diff --git a/NETERPNoWin/Frm_MESSetIni.cs b/NETERPNoWin/Frm_MESSetIni.cs index b0c9ca2..778ad94 100644 --- a/NETERPNoWin/Frm_MESSetIni.cs +++ b/NETERPNoWin/Frm_MESSetIni.cs @@ -19,9 +19,9 @@ private void cmdOK_Click(object sender, EventArgs e) { ClsIni oIni = new ClsIni(); - ClsIni.WriteIni("Dept", "DeptID", this.txtHDeptID.Tag.ToString(), Pub_Class.ClsPub.AppPath + @"\" + "HXErp.ini"); - ClsIni.WriteIni("Dept", "DeptName", this.txtHDeptID.Text.Trim(), Pub_Class.ClsPub.AppPath + @"\" + "HXErp.ini"); - ClsIni.WriteIni("OPenWin", "gnmc", this.txtHOPWin.Text.Trim(), Pub_Class.ClsPub.AppPath + @"\" + "HXErp.ini"); + ClsIni.WriteIni("Dept", "DeptID", this.txtHDeptID.Tag.ToString(), Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini"); + ClsIni.WriteIni("Dept", "DeptName", this.txtHDeptID.Text.Trim(), Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini"); + ClsIni.WriteIni("OPenWin", "gnmc", this.txtHOPWin.Text.Trim(), Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini"); this.Close(); } @@ -47,16 +47,17 @@ private void Frm_MESSetIni_Load(object sender, EventArgs e) { ClsIni oIni = new ClsIni(); - string sID = ClsIni.ReadIni("Dept", "DeptID", Pub_Class.ClsPub.AppPath + @"\" + "HXErp.ini"); - string sName = ClsIni.ReadIni("Dept", "DeptName", Pub_Class.ClsPub.AppPath + @"\" + "HXErp.ini"); - string sWinName = ClsIni.ReadIni("OPenWin", "gnmc", Pub_Class.ClsPub.AppPath + @"\" + "HXErp.ini"); + string sID = ClsIni.ReadIni("Dept", "DeptID", Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini"); + string sName = ClsIni.ReadIni("Dept", "DeptName", Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini"); + string sWinName = ClsIni.ReadIni("OPenWin", "gnmc", Pub_Class.ClsPub.AppPath + @"\" + "HXErp_SY.ini"); txtHDeptID.Tag = sID; txtHDeptID.Text = sName; txtHOPWin.Text = sWinName; } + private void button1_Click(object sender, EventArgs e) + { - - + } } } \ No newline at end of file -- Gitblit v1.9.1