wugang 8 years ago
parent
commit
c0474f1640
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      ButcherManageClient/Login.cs

+ 3
- 3
ButcherManageClient/Login.cs View File

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


Loading…
Cancel
Save