private void btn_Add_Click(object sender, EventArgs e) { Form f = new Reservation_edit(myBL); f.ShowDialog(); reservationIDListBoxRefresh(); }
private void btn_Edit_Click(object sender, EventArgs e) { Form f = new Reservation_edit(myBL, (Reservation)reservationIDListBox.SelectedItem); f.ShowDialog(); reservationIDListBoxRefresh(); }