Ejemplo n.º 1
0
        //收银员收款统计
        private void btnCashierTable_Click(object sender, EventArgs e)
        {
            var db = new BathDBDataContext(LogIn.connectionString);

            if (!BathClass.getAuthority(db, LogIn.m_User, "收银员收款统计"))
            {
                GeneralClass.printErrorMsg("权限不够,不能访问!");
                return;
            }

            var form = new TableCashierForm();

            form.ShowDialog();
            //CashierTableForm cashierTableForm = new CashierTableForm();
            //cashierTableForm.ShowDialog();
        }
Ejemplo n.º 2
0
        //收银员收款统计
        private void btnCashierTable_Click(object sender, EventArgs e)
        {
            var db = new BathDBDataContext(LogIn.connectionString);
            if (!BathClass.getAuthority(db, LogIn.m_User, "收银员收款统计"))
            {
                GeneralClass.printErrorMsg("权限不够,不能访问!");
                return;
            }

            var form = new TableCashierForm();
            form.ShowDialog();
            //CashierTableForm cashierTableForm = new CashierTableForm();
            //cashierTableForm.ShowDialog();
        }