예제 #1
0
        //挂失
        private void btnStop_Click(object sender, EventArgs e)
        {
            if (!BathClass.getAuthority(db, LogIn.m_User, "挂失"))
            {
                BathClass.printErrorMsg("权限不够!");
                return;
            }

            MemberStopForm memberStopForm = new MemberStopForm();

            memberStopForm.ShowDialog();
        }
예제 #2
0
        //挂失
        private void btnStop_Click(object sender, EventArgs e)
        {
            if (!dao.get_authority(LogIn.m_User, "挂失"))
            {
                BathClass.printErrorMsg("权限不够!");
                return;
            }
            //if (!BathClass.getAuthority(db, LogIn.m_User, "挂失"))
            //{
            //    BathClass.printErrorMsg("权限不够!");
            //    return;
            //}

            MemberStopForm memberStopForm = new MemberStopForm();
            memberStopForm.ShowDialog();
        }