예제 #1
0
 public Users(int id,String firstname,String lastname,Database db1)
 {
     this.db1=db1;
     this.id = id;
     this.firstname = firstname;
     this.lastname = lastname;
 }
예제 #2
0
 public Booking(Database database, UserControl1 uc)
 {
     this.database = database;
     this.uc=uc;
 }
 private void go_button_click(object sender, RoutedEventArgs e)
 {
     Database database = new Database();
     Booking booking = new Booking(database, this);
     booking.getStatus(arrivalDate.SelectedDate.Value, departureDate.SelectedDate.Value, label1);
 }