/// <summary>
        /// 登录按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void Loginbtn_Click(object sender, EventArgs e)
        {
            ManagerBLL        mb   = new ManagerBLL();
            List <ManagerMOD> list = mb.FindName(Nametext.Text);                       //根据用户名查询密码

            if (list.Count == 0 || list[0].Manager_password != Passwordtext.Text)      //如果返回的密码和输入的密码不一致
            {
                MessageBox.Show("您的用户名或密码有误,请重新输入:");
                Passwordtext.Text = "";
                return;
            }
            LoginInfo.manager_info = list[0];
            this.Close();
        }