Browse Source

自动更新

master
yibo 8 years ago
parent
commit
2d26249648
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      ButcherManageClient/Login.cs

+ 1
- 2
ButcherManageClient/Login.cs View File

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

Loading…
Cancel
Save