public BookGivaTakeForm(byte accessMask)
 {
     InitializeComponent();
     db = new library_danilovEntities();
     bt_give.Enabled = ((accessMask & 0010) != 0);
     bt_take.Enabled = ((accessMask & 0001) != 0);
     studID          = "";
     bookId          = -1;
     book_isbn       = "";
 }
 public ReservCode()
 {
     InitializeComponent();
     db = new library_danilovEntities();
 }