Example #1
0
        //卡入库
        private void btnMemberPop_Click(object sender, EventArgs e)
        {
            var db = new BathDBDataContext(LogIn.connectionString);

            if (!BathClass.getAuthority(db, LogIn.m_User, "卡入库"))
            {
                GeneralClass.printErrorMsg("不具有权限");
                return;
            }

            var form = new OpenCardForm();

            form.ShowDialog();
        }
Example #2
0
        //卡入库
        private void btnMemberPop_Click(object sender, EventArgs e)
        {
            var db = new BathDBDataContext(LogIn.connectionString);
            if (!BathClass.getAuthority(db, LogIn.m_User, "卡入库"))
            {
                GeneralClass.printErrorMsg("不具有权限");
                return;
            }

            var form = new OpenCardForm();
            form.ShowDialog();
        }