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

            MemberPopForm memberPopForm = new MemberPopForm(m_Seat);
            memberPopForm.ShowDialog();
        }
예제 #2
0
        //充值
        private void btnPop_Click(object sender, EventArgs e)
        {
            if (!BathClass.getAuthority(db, LogIn.m_User, "充值"))
            {
                BathClass.printErrorMsg("权限不够!");
                return;
            }

            MemberPopForm memberPopForm = new MemberPopForm(m_Seat);

            memberPopForm.ShowDialog();
        }
예제 #3
0
        //充值
        private void btnPop_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;
            //}

            MemberPopForm memberPopForm = new MemberPopForm(m_Seat);
            memberPopForm.ShowDialog();
            this.DialogResult = DialogResult.OK;
            this.Close();
        }
예제 #4
0
        //充值
        private void btnPop_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;
            //}

            MemberPopForm memberPopForm = new MemberPopForm(m_Seat);
            memberPopForm.ShowDialog();
            this.DialogResult = DialogResult.OK;
            this.Close();
        }