From c0474f1640beeb44d6eb2f061c0c364d254dd83b Mon Sep 17 00:00:00 2001 From: wugang <1029149336@qq.com> Date: Thu, 14 Dec 2017 19:03:16 +0800 Subject: [PATCH] 1 --- ButcherManageClient/Login.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ButcherManageClient/Login.cs b/ButcherManageClient/Login.cs index 669b471..684b9a7 100644 --- a/ButcherManageClient/Login.cs +++ b/ButcherManageClient/Login.cs @@ -33,7 +33,7 @@ namespace ButcherManageClient { InitializeComponent(); userNameTxt.Text = ButcherAppContext.Context.UserConfig.UserName; - pwdTxt.Text = ""; + pwdTxt.Text = "123"; } private void settingBtn_Click(object sender, EventArgs e) @@ -65,9 +65,9 @@ namespace ButcherManageClient throw new Exception("离线状态请保持与上次用户名一致"); ButcherAppContext.Context.UserConfig.Connection = false; } -// var form = AfterLoginUtil.CreateForm(ButcherAppContext.Context.UserConfig.Role); + var form = AfterLoginUtil.CreateForm(ButcherAppContext.Context.UserConfig.Role); // var form = AfterLoginUtil.CreateForm("分割入库"); - var form = AfterLoginUtil.CreateForm("分割称重"); +// var form = AfterLoginUtil.CreateForm("分割称重"); if (form == null) throw new Exception("权限不符"); form.FormClosing += delegate { SubFormClosing(); };