public passwordChangeWindow(string username, userAccountWindow temp)
 {
     InitializeComponent();
     userWin = temp;
     connection  = new Connection();
     userName = username;
 }
 public borrowHistoryWindow(string username, userAccountWindow temp)
 {
     InitializeComponent();
     mWin = temp;
     connection = new Connection();
     userName = username;
 }
 public Reservation(string userName)
 {
     user = userName;
     connection = new Connection();
     userLevel = connection.getUserLevel(user);
     InitializeComponent();
 }
 public user(int indexNo, string userState, string email, string password)
 {
     this.registrationNumber = indexNo;
     this.userState = userState;
     this.email = email;
     this.password = password;
     connection = new Connection();
 }
 public userLoginHandler()
 {
     connection = new Connection();
 }
 public adminDatabaseHandler()
 {
     connection = new Connection();
 }
 public searchingHandler()
 {
     connection = new Connection();
 }