|
|
|
@ -66,7 +66,6 @@ namespace ButcherManageClient |
|
|
|
ButcherAppContext.Context.UserConfig.Connection = false; |
|
|
|
} |
|
|
|
var form = AfterLoginUtil.CreateForm(ButcherAppContext.Context.UserConfig.Role); |
|
|
|
// var form = AfterLoginUtil.CreateForm("定级员");
|
|
|
|
if (form == null) |
|
|
|
throw new Exception("权限不符"); |
|
|
|
form.FormClosing += delegate { SubFormClosing(); }; |
|
|
|
@ -141,7 +140,7 @@ namespace ButcherManageClient |
|
|
|
|
|
|
|
private void Login_Load(object sender, EventArgs e) |
|
|
|
{ |
|
|
|
//AutoUpdate();
|
|
|
|
AutoUpdate(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |