Beispiel #1
0
        //会员卡售卡及续卡统计
        private void btnMemberCardSale_Click(object sender, EventArgs e)
        {
            var db = new BathDBDataContext(LogIn.connectionString);

            if (!BathClass.getAuthority(db, LogIn.m_User, "会员售卡及充值统计"))
            {
                GeneralClass.printErrorMsg("权限不够,不能访问!");
                return;
            }
            MemberCardSaleForm memberCardSaleForm = new MemberCardSaleForm();

            memberCardSaleForm.ShowDialog();
        }
Beispiel #2
0
 //会员卡售卡及续卡统计
 private void btnMemberCardSale_Click(object sender, EventArgs e)
 {
     var db = new BathDBDataContext(LogIn.connectionString);
     if (!BathClass.getAuthority(db, LogIn.m_User, "会员售卡及充值统计"))
     {
         GeneralClass.printErrorMsg("权限不够,不能访问!");
         return;
     }
     MemberCardSaleForm memberCardSaleForm = new MemberCardSaleForm();
     memberCardSaleForm.ShowDialog();
 }