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(); };