//开牌登记 private void btnSeat_Click(object sender, EventArgs e) { var db = new BathDBDataContext(LogIn.connectionString); if (!BathClass.getAuthority(db, LogIn.m_User, "开牌")) { GeneralClass.printErrorMsg("不具有权限"); return; } ReceptionSeatForm receptionSeatForm = new ReceptionSeatForm(); receptionSeatForm.ShowDialog(); }
//开牌登记 private void btnSeat_Click(object sender, EventArgs e) { var db = new BathDBDataContext(LogIn.connectionString); if (!BathClass.getAuthority(db, LogIn.m_User, "开牌")) { GeneralClass.printErrorMsg("不具有权限"); return; } ReceptionSeatForm receptionSeatForm = new ReceptionSeatForm(); receptionSeatForm.ShowDialog(); }